Microsoft Operations Manager

Server Property

The Serverproperty gets or sets the domain controller where Active Directory bind operations are to occur.

[VBScript] ActiveDirectory.Server

Access

Read/Write

Return Value

String

Remarks

You can set either the Serverproperty or the Domainproperty, but you should not set both. If both properties are assigned values, the Serverproperty takes precedence.

Examples

The following example shows how to determine the bind time to the PDC master of a specific domain controller.

[VBScript] 
Dim objActiveDirectory
Dim lngBindTime

Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")

objActiveDirectory.Server = "Server1"
If (objActiveDirectory.BindPDCMaster()) Then
	lngBindTime = objActiveDirectory.PDCMasterBind
End If

Set objActiveDirectory = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

ActiveDirectory Object, ActiveDirectory.Domain Property


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.