BindLast Property

Provides access to the time in milliseconds of the last Active Directory bind operation performed.

Syntax

ActiveDirectory.BindLast

Access

Read only.

Return Type

Long.

Example

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.