Microsoft Operations Manager |
The BindLastproperty gets the time, in milliseconds, of the last Active Directory bind operation performed.
[VBScript] ActiveDirectory.BindLast
Read-only
Long
The following example shows how to determine the time required to bind to the rootDSEobject.
[VBScript]
Function GetBindTime()
Dim objActiveDirectory
Dim objRootDSE
Dim lngBindTime
lngBindTime = -1
Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")
objActiveDirectory.BindObject("LDAP://rootDSE", objRootDSE)
lngBindTime = objActiveDirectory.BindLast
Set objRootDSE = Nothing
Set objActiveDirectory = Nothing
GetBindTime = lngBindTime
End Function
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.