Microsoft Operations Manager |
The InfrastructureMasterBindproperty gets the time required to bind to the infrastructure master using the BindInfrastructureMastermethod.
[VBScript]
ActiveDirectory.InfrastructureMasterBind
Read-only
Long
The following example shows how to get the time required to bind to the infrastructure master.
[VBScript]
Function GetTimeToBindToInfraMaster()
Dim objActiveDirectory
Dim lngBindTime
lngBindTime = -1
Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")
If (objActiveDirectory.BindInfrastructureMaster()) Then
lngBindTime = objActiveDirectory.InfrastructureMasterBind
End If
Set objActiveDirectory = Nothing
GetTimeToBindToInfraMaster = lngBindTime
End Function
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
ActiveDirectory Object, ActiveDirectory.BindInfrastructureMaster Method
Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.