Microsoft Operations Manager

PDCMaster Property

The PDCMasterproperty gets the DNS-formatted name of the PDC master.

[VBScript] ActiveDirectory.PDCMaster

Access

Read-only

Return Value

String

Examples

The following example shows how to get the DNS-formatted name of the PDC master.

[VBScript] 
Dim objActiveDirectory
Dim strMaster

Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")

strMaster = objActiveDirectory.PDCMaster

Set objActiveDirectory = Nothing

Requirements

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

See Also

ActiveDirectory Object


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