Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
s
Type: System.StringA connection string in a format recognized by the current DataConnectionProperties instance.
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
- 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.