Condividi tramite


IDbConnection.ConnectionString Property

Definition

Gets or sets the string used to open a database.

public:
 property System::String ^ ConnectionString { System::String ^ get(); void set(System::String ^ value); };
public string ConnectionString { get; set; }
member this.ConnectionString : string with get, set
Public Property ConnectionString As String

Property Value

The string used to open a database.

Remarks

The ConnectionString property can be set only while the connection is closed.

Applies to