Microsoft Identity Integration Server 2003 Developer Reference

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.
string RunDetails();

Parameters

This method has no parameters.

Return Values

Returns a string that contains the details of a management agent run in an XML format.

Example Code

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

Server: Requires Microsoft Identity Integration Server 2003.
Header: Declared in mmswmi.mof.


See Also

MIIS_RunHistory