Click or drag to resize

ConnectionStringParserTParameterAttribute, TNestedSettingsAttributeParseConnectionString Method

Deserializes the connection string parameters into the given settingsObject.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public override void ParseConnectionString(
	string connectionString,
	Object settingsObject
)
View Source

Parameters

connectionString  String
The connection string to be parsed.
settingsObject  Object
The object whose properties are to be populated with values from the connection string.
Exceptions
ExceptionCondition
ArgumentNullExceptionsettingsObject is null.
ArgumentExceptionA required connection string parameter cannot be found in the connection string.
See Also