Click or drag to resize

ConnectionStringParserToXML Method

Converts a connection string to XML.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
Syntax
public static XElement ToXML(
	string connectionString
)
View Source

Parameters

connectionString  String
The connection string to be converted to XML.

Return Value

XElement
The XML root element converted from the connection string.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe connection string does not define exactly one root element.
See Also