Share via


DataConnectionProperties.Parse Method

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

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

Syntax

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

Parameters

Implements

IVsDataConnectionProperties.Parse(String)

Exceptions

Exception Condition
ArgumentNullException

The connectionString parameter is nulla null reference (Nothing in Visual Basic).

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.Framework Namespace