AdoDotNetConnectionProperties.Parse Method
Disassembles the components of a connection string into a set of connection properties as set in the current AdoDotNetConnectionProperties class instance.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overrides Sub Parse ( _
s As String _
)
public override void Parse(
string s
)
public:
virtual void Parse(
String^ s
) override
abstract Parse :
s:string -> unit
override Parse :
s:string -> unit
public override function Parse(
s : String
)
Parameters
s
Type: System.StringThe connection string in a format recognized by the current AdoDotNetConnectionProperties instance.
Implements
IDataConnectionProperties.Parse(String)
Exceptions
Exception | Condition |
---|---|
FormatException | The format of s was invalid. |
.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.
See Also
Reference
AdoDotNetConnectionProperties Class