ConnectionStringParserToXML Method

Converts a connection string to XML.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Configuration (in Gemstone.Configuration.dll) Version: 1.0.158 -- Release Build+5f58e7b3fefdf02dcaca7cf829f5efdc244df44f
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