共用方式為


DataConnectionProperties.Parse(String) Method

Definition

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

public:
 virtual void Parse(System::String ^ s);
public virtual void Parse (string s);
abstract member Parse : string -> unit
override this.Parse : string -> unit
Public Overridable Sub Parse (s As String)

Parameters

s
String

A connection string in a format recognized by the current DataConnectionProperties instance.

Implements

Exceptions

The format of s was invalid.

Applies to