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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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