IDataConnectionProperties.Parse Method
Parses a data connection string that is built from a set of properties into the corresponding set of connection properties.
Namespace: Microsoft.Data.ConnectionUI
Assembly: Microsoft.Data.ConnectionUI (in Microsoft.Data.ConnectionUI.dll)
Syntax
'Declaration
Sub Parse ( _
s As String _
)
void Parse(
string s
)
void Parse(
String^ s
)
abstract Parse :
s:string -> unit
function Parse(
s : String
)
Parameters
s
Type: System.StringThe connection string that is being parsed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The s parameter is null. |
FormatException | The format specified for s in not valid. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.