Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FullyQualifiedDomainName property retrieves the domain name of the connector space object in domain name system (DNS) format.
Examples
The following example shows how to use Visual Basic Scripting Edition (VBScript) to search for a connector space object by using this property.
Option Explicit
On Error Resume Next
Const PktPrivacy = 6 ' Authentication level
Dim Service
Dim CsObjects
Dim CsObject
Dim MAObjects
Dim MAObject
Dim ObjCount
Set Service = GetObject("winmgmts:{authenticationLevel=PktPrivacy}!root\MicrosoftIdentityIntegrationServer")
Dim SAMName ' sAMAccount name of the object
SAMName = "JeffSmith"
Dim DomainName ' Domain name used in the search
DomainName = "fabrikam.com"
Dim Query
Query = "Select * from MIIS_CSObject where FullyQualifiedDomain = '"
Query = Query & DomainName & "' and account = '" & SAMName & "'"
Set CsObjects = Service.ExecQuery (Query)
ObjCount = 0
For Each CsObject in Csobjects
ObjCount = ObjCount + 1
Query = "Select * from MIIS_ManagementAgent where guid='"& CSObject.MaGuid &"'"
Set MAObjects = Service.ExecQuery(Query)
For Each MAObject in MAObjects
Wscript.Echo "Imported from the " & MAObject.Name & " management agent."
Next
Next
If ObjCount = 0 then
WScript.Echo "The object with the name " & SAMName & " was not found."
End If
Sub ErrorHandler (ErrorMessage)
WScript.Echo ErrorMessage
WScript.Quit(1)
End Sub
Requirements
| Product | ILM 2007 FP1 |
| MOF | Mmswmi.mof |
See Also
MIIS_CSObject
Example: Finding Specified Connector Space Objects
Send comments about this topic to Microsoft
Build date: 2/16/2009