Microsoft Operations Manager |
The DomainNamingMasterproperty gets the Domain Name System (DNS) formatted name of the domain naming master.
[VBScript]
ActiveDirectory.DomainNamingMaster
Read-only
String
The following example shows how to get the DNS-formatted name of the domain naming master.
[VBScript]
Function GetDomainMasterName()
Dim objActiveDirectory
Dim strName
Set objActiveDirectory =
CreateObject("McActiveDir.ActiveDirectory")
strName = objActiveDirectory.DomainNamingMaster
Set objActiveDirectory = Nothing
GetDomainMasterName = strName
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.