共用方式為


DataConnectionManager.InvalidateDataConnection(Guid, String, Boolean) Method

Definition

Invalidates a currently managed data connection that matches the specified connection information, if any.

public:
 void InvalidateDataConnection(Guid provider, System::String ^ connectionString, bool encryptedString);
public void InvalidateDataConnection (Guid provider, string connectionString, bool encryptedString);
member this.InvalidateDataConnection : Guid * string * bool -> unit
Public Sub InvalidateDataConnection (provider As Guid, connectionString As String, encryptedString As Boolean)

Parameters

provider
Guid

A DDEX data provider GUID.

connectionString
String

A connection string recognized by the data provider.

encryptedString
Boolean

Indicates whether the connection string parameter is encrypted (true if encrypted).

Applies to