Determines the security level of the connection to the server. This method is called after the call to the BeginConnectionToServer method is successful.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As IMAPasswordManagement
Dim returnValue As ConnectionSecurityLevel

returnValue = instance.GetConnectionSecurityLevel

Syntax

Visual Basic
Function GetConnectionSecurityLevel As ConnectionSecurityLevel
C#
ConnectionSecurityLevel GetConnectionSecurityLevel ()
C++
ConnectionSecurityLevel GetConnectionSecurityLevel ()
J#
ConnectionSecurityLevel GetConnectionSecurityLevel ()
JScript
function GetConnectionSecurityLevel () : ConnectionSecurityLevel

Return Value

A ConnectionSecurityLevel value that determines the security level of the connection to the server.

Exceptions

Exception type Condition
EntryPointNotImplementedException

The rules extension does not implement this method.

PasswordExtensionException

The password extension throws an unknown exception.

ServerDownException

The connected directory extension cannot establish a connection to the connected directory.

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