共用方式為


AdoDotNetConnectionProperties.ToTestString Method

Definition

Retrieves a form of the connection string that can be used for testing the connection.

protected:
 virtual System::String ^ ToTestString();
protected virtual string ToTestString ();
abstract member ToTestString : unit -> string
override this.ToTestString : unit -> string
Protected Overridable Function ToTestString () As String

Returns

Returns a testable form of the connection string.

Applies to