Provides access to the time in milliseconds of the last Active Directory bind operation performed.
ActiveDirectory.BindLast
Read only.
Long.
To determine the time required to bind to the rootDSE object, enter:
Dim objActiveDirectory, objRootDSE Dim lngBindTime Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory") objActiveDirectory.BindObject("LDAP://rootDSE", objRootDSE) lngBindTime = objActiveDirectory.BindLast Set objRootDSE = Nothing Set objActiveDirectory = Nothing
This example binds to the rootDSE object of the domain.