Share via


ManagementPack.GetTasks Method

Definition

Retrieves all tasks that are contained in the management pack.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackElementCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPackTask ^> ^ GetTasks();
public Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackTask> GetTasks ();
member this.GetTasks : unit -> Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackTask>
Public Function GetTasks () As ManagementPackElementCollection(Of ManagementPackTask)

Returns

A collection of all tasks in the management pack.

Remarks

A task is an action that diagnoses or repairs a problem. A task can also automate a management process.

Applies to