Ends the connection to the server and releases the resources.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As IMAPasswordManagement

instance.EndConnectionToServer

Syntax

Visual Basic
Sub EndConnectionToServer
C#
void EndConnectionToServer ()
C++
void EndConnectionToServer ()
J#
void EndConnectionToServer ()
JScript
function EndConnectionToServer ()

Exceptions

Exception type Condition
EndConnectionException

This method failed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also