IMAExtensible2Password.GetConnectionSecurityLevel Method
Called to determine the security level of the connection.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
Usage
'Usage
Dim instance As IMAExtensible2Password
Dim returnValue As ConnectionSecurityLevel
returnValue = instance.GetConnectionSecurityLevel
Syntax
'Declaration
Function GetConnectionSecurityLevel As ConnectionSecurityLevel
ConnectionSecurityLevel GetConnectionSecurityLevel ()
ConnectionSecurityLevel GetConnectionSecurityLevel ()
ConnectionSecurityLevel GetConnectionSecurityLevel ()
function GetConnectionSecurityLevel () : ConnectionSecurityLevel
Return Value
Returns one of the ConnectionSecurityLevel values that determines the level of security to the server..
Remarks
It can be assumed that OpenPasswordConnection has been called successfully.
Exceptions: Return values, Errors, and Exceptions
The following is an example of GetConnectionSecurityLevel:
public ConnectionSecurityLevel GetConnectionSecurityLevel()
{
return ConnectionSecurityLevel.NotSecure;
}
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
Change History
See Also
Reference
IMAExtensible2Password Interface
IMAExtensible2Password Members
Microsoft.MetadirectoryServices Namespace