ConnectionStringParserToXML Method

Converts a connection string to XML.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Configuration (in Gemstone.Configuration.dll) Version: 1.0.160 -- Release Build+88236516f9422f607db3cbb805adb5560f937a6c
public static XElement ToXML(
	string connectionString
)

Parameters

connectionString  String
The connection string to be converted to XML.

Return Value

XElement
The XML root element converted from the connection string.

Exceptions

InvalidOperationExceptionThe connection string does not define exactly one root element.

See Also