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.
Syntax
string RunProfile();
Parameters
This method has no parameters.
Return Value
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.
Examples
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
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