ConnectionStringParserToXML Method

Converts a connection string to XML.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Configuration (in Gemstone.Configuration.dll) Version: 1.0.171 -- Release Build+9acafc9a30af2f20fb3b5ba39c0c59b25e414d41
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