UserSettings.GetFavoriteConsoleTask(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the favorite task, by name, for the current user.
public:
Microsoft::EnterpriseManagement::Monitoring::FavoriteConsoleTask ^ GetFavoriteConsoleTask(System::String ^ name);
public Microsoft.EnterpriseManagement.Monitoring.FavoriteConsoleTask GetFavoriteConsoleTask (string name);
member this.GetFavoriteConsoleTask : string -> Microsoft.EnterpriseManagement.Monitoring.FavoriteConsoleTask
Public Function GetFavoriteConsoleTask (name As String) As FavoriteConsoleTask
Parameters
- name
- String
The name of the favorite task.
Returns
A FavoriteConsoleTask object.
Exceptions
name is null
name is empty
FavoriteConsoleTask with that name not found.