RunDetails Method of the MIIS_RunHistory Class
The RunDetails method returns the details in an XML format of one of the management agent run histories stored on the server. For more information about the XML format of the return value, see <run-history>. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.
Syntax
string RunDetails();
Parameters
This method has no parameters.
Return Value
Returns a string that contains the details of a management agent run in an XML format.
Examples
The following example shows how to use the Visual Basic Scripting Edition to get the run histories of all management agent runs stored on the server:
Option Explicit
Dim Service
Dim Runs
Dim Run
Set Service = GetObject("winmgmts:root\MicrosoftIdentityIntegrationServer")
Set Runs = Service.ExecQuery("Select * From MIIS_RunHistory")
For Each Run in Runs
WScript.Echo Run.MaName & vbcr
WScript.Echo "Run History: " & Run.Key & vbcr
WScript.Echo Run.RunDetails()
Next
Requirements
Product | ILM 2007 FP1 |
MOF | Mmswmi.mof |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009