UserSettings.GetFavoriteTask(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::FavoriteTask ^ GetFavoriteTask(System::String ^ name);
public Microsoft.EnterpriseManagement.Monitoring.FavoriteTask GetFavoriteTask (string name);
member this.GetFavoriteTask : string -> Microsoft.EnterpriseManagement.Monitoring.FavoriteTask
Public Function GetFavoriteTask (name As String) As FavoriteTask
Parameters
- name
- String
The name of the favorite task.
Returns
A FavoriteTask object.
Exceptions
name is null
name is empty
FavoriteTask with that name not found.