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+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
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