Specifies whether to use LDAPv2 or LDAPv3 methods.
Set pLDAP = CreateObject("LDAPClient.3")
pLDAP.ProtocolVersion = 3
' Connecting now will use LDAPv3 protocol
Call pLDAP.Connect("ldapserver")
' Set the protocol version while we're still connected.
' This won't change the current connection, but future
' connections using this LDAPClient will be made using
' the LDAPv2 protocol
pLDAP.ProtocolVersion = 2
pLDAP.Disconnect
' Connecting now will use LDAPv2 protocol
Call pLDAP.Connect("ldapserver")