Microsoft Identity
Integration Server 2003 Developer Reference
RunProfile
Method of the MIIS_ManagementAgent Class
The RunProfile method returns the name of the run profile
that was used in the current or previous management agent run. To
use this method, you must be logged on as a member of the
MIISBrowse, MIISOperators, or MIISAdmins security group.
string RunProfile();
Parameters
This method has no parameters.
Return Values
Returns a string that contains either the name of the run profile
in the current or last management agent run or one of the values
listed in Return Strings. If you
run this method after creating a new management agent, an empty
string is returned.
Example Code
The example given in the Methods topic shows you how to
use Visual Basic Scripting Edition (VBScript) to get the run
profile name of the of the last management agent run of each
management agent on the server.
Requirements
Server: Requires Microsoft Identity Integration
Server 2003. Header: Declared in mmswmi.mof.