Returns the details, in XML format, of one of the management agent run history records that are 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.
Visual Basic |
---|
string RunDetails(); |
Parameters
None
Return Value
Returns a string that contains the details of a management agent run in an XML format.
Example
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.
Visual Basic Script | Copy Code |
---|---|
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 |
Forefront Identity Manager Synchronization Service 2010 |
MOF |
Mmswmi.mof |