Microsoft Identity Integration Server 2003 Developer Reference

RunStatus Method of the MIIS_ManagementAgent Class

The RunStatus method returns the status of the last management agent run. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.
string RunStatus();

Parameters

This method has no parameters.

Return Values

Returns a string that contains either the status of the last management agent run or one of the values listed in Return Strings.

If the management agent has never been run or the previous runs have been cleared, the return value is an empty string.

If the management agent is idle but at least one run profile has been executed, the return value can be one of the values listed in Return Strings.

If the management agent is running, the return value is the following value.

Return code Description
in-progress The management agent run is in progress.

Example Code

The example given in the Methods topic shows you how to use Visual Basic Scripting Edition (VBScript) to get the status of the last management agent run.

Requirements

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


See Also

MIIS_ManagementAgent, Return Strings