Microsoft Identity Integration Server 2003 Developer Reference

RunNumber Method of the MIIS_ManagementAgent Class

The RunNumber method returns the number of times all the run profiles in the management agent were run. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.
string RunNumber();

Parameters

This method has no parameters.

Return Values

Returns a string that contains either the number of times all the run profiles in the management agent were run or one of the values listed in Return Strings. If this method is called after a new management agent is created or the previous management agent runs were cleared, the return value will be an empty string.

Example Code

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

Requirements

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


See Also

MIIS_ManagementAgent, Return Strings