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
- connectionString
Type: System.String
A connection string in a format recognized by the current DataConnectionProperties instance.
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
- 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.