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.
Syntax
string RunStatus();
Parameters
This method has no parameters.
Return Value
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. |
Examples
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
Product | ILM 2007 FP1 |
MOF | Mmswmi.mof |
See Also
MIIS_ManagementAgent
Return Strings
Send comments about this topic to Microsoft
Build date: 2/16/2009