ConnectionStringParserToXML Method

Converts a connection string to XML.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Configuration (in Gemstone.Configuration.dll) Version: 1.0.181 -- Release Build+147584c36c6ad2f00b6660c6678710596873040f
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