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.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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