Partager via


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.String

    The 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

See Also

Reference

IDataConnectionProperties Interface

Microsoft.Data.ConnectionUI Namespace