BindInfrastructureMaster Method

Binds to the infrastructure master.

Syntax

ActiveDirectory.BindInfrastructureMaster

Parameters

None.

Return Type

Boolean.

Example

To get the time required to bind to the infrastructure master, enter:

Dim objActiveDirectory
Dim lngBindTime

Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory")
If objActiveDirectory.BindInfrastructureMaster Then
lngBindTime = objActiveDirectory.InfrastructureMasterBind
End If

Set objActiveDirectory = Nothing

To determine the bind time, you must first bind to the role master.