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.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
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