Microsoft Operations Manager |
The BindObjectmethod binds to the specified ActiveDirectoryobject.
[VBScript]
ActiveDirectory.BindObject(ADsPath String)
Object
The BindCount, BindLast, and BindTotalproperties are updated when this method is called.
The following example binds to the rootDSEobject of the domain.
[VBScript]
Function GetRootDSE()
Dim objActiveDirectory, objRootDSE
Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")
Set objRootDSE =
objActiveDirectory.BindObject("LDAP://rootDSE")
Set objActiveDirectory = Nothing
Set GetRootDSE = objRootDSE
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.