LdapSessionOptions.ProtocolVersion 属性

定义

ProtocolVersion 属性指定要使用的 LDAP 协议版本。The ProtocolVersion property specifies the LDAP protocol version to use.

public:
 property int ProtocolVersion { int get(); void set(int value); };
public int ProtocolVersion { get; set; }
member this.ProtocolVersion : int with get, set
Public Property ProtocolVersion As Integer

属性值

Int32

要使用的 LDAP 协议版本。The LDAP protocol version to use.

例外

已释放 LdapConnection 对象。The LdapConnection object is already disposed.

适用于