Partager via


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.

mof
string RunProfile();

Parameters

None

Name : RunProfile

Return Value

string

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 that are listed in WMI Provider Return Strings. If you run this method after you create a new management agent, an empty string is returned.

Code Example

The example in Methods shows how to use Microsoft Visual Basic Scripting Edition (VBScript) to get the run profile name of the last management agent run of each management agent that is on the server.

Requirements

Product

Forefront Identity Manager Synchronization Service 2010

MOF

Mmswmi.mof

See Also

Reference

MIIS_ManagementAgent Class
WMI Provider Return Strings

Concepts

WMI Provider Reference
Methods