Compartir a través de


DataConnectionProperties.Parse Method

Disassembles the components of a connection string into a set of properties in the current DataConnectionProperties instance.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Overridable Sub Parse ( _
    s As String _
)
public virtual void Parse(
    string s
)
public:
virtual void Parse(
    String^ s
)
abstract Parse : 
        s:string -> unit  
override Parse : 
        s:string -> unit
public function Parse(
    s : String
)

Parameters

Implements

IDataConnectionProperties.Parse(String)

Exceptions

Exception Condition
FormatException

The format of s was invalid.

Remarks

Calling this method causes an overwrite of any existing properties, in effect resetting property values.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace