Microsoft Identity Integration Server 2003 Developer Reference |
string RunDetails();
Use this method to find the details of a management agent run prior to archiving the run.
The following example shows you how to use Visual Basic Scripting Edition (VBScript) to get the details of the last management agent run:
Option Explicit On Error Resume Next Dim Service Dim ManagementAgent Dim Status Set Service = GetObject("winmgmts:root\MicrosoftIdentityIntegrationServer") Set ManagementAgent = Service.Get("MIIS_ManagementAgent.Name='Fabrikam HR MA'") WScript.Echo "Run Status: " & ManagementAgent.Execute("Full Import") ' Shows the details of the current management agent run. WScript.Echo "Run Details" WScript.Echo ManagementAgent.RunDetails() Sub ErrorHandler (ErrorMessage) WScript.Echo ErrorMessage WScript.Quit(1) End Sub
Server: Requires Microsoft Identity Integration
Server 2003.
Header: Declared in mmswmi.mof.