共用方式為


ConnectionManagerOleDbClass.ConnectionString Property

Definition

Gets or sets the connection string used to establish a connection to a data source.

public:
 virtual property System::String ^ ConnectionString { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.InteropServices.DispId(1)]
public virtual string ConnectionString { [System.Runtime.InteropServices.DispId(1)] get; [System.Runtime.InteropServices.DispId(1)] set; }
[<System.Runtime.InteropServices.DispId(1)>]
[<get: System.Runtime.InteropServices.DispId(1)>]
[<set: System.Runtime.InteropServices.DispId(1)>]
member this.ConnectionString : string with get, set
Public Overridable Property ConnectionString As String

Property Value

A String that contains the connection string value.

Implements

Attributes

Remarks

For more information, see ConnectionManager.

Applies to