LdapSessionOptions.ProtocolVersion Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The ProtocolVersion property specifies the LDAP protocol version to use.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public int ProtocolVersion { get; set; }

Property Value

Type: System.Int32

The LDAP protocol version to use.

Exception Condition

The LdapConnection object is already disposed.

.NET Framework
Available since 2.0
Return to top