HierarchyService.GetTasks(HierarchyInfo) 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.
When overridden in a derived class, retrieves a collection of tasks for the node.
public:
abstract Microsoft::Web::Management::Client::TaskListCollection ^ GetTasks(Microsoft::Web::Management::Client::HierarchyInfo ^ hierarchyInfo);
public abstract Microsoft.Web.Management.Client.TaskListCollection GetTasks (Microsoft.Web.Management.Client.HierarchyInfo hierarchyInfo);
abstract member GetTasks : Microsoft.Web.Management.Client.HierarchyInfo -> Microsoft.Web.Management.Client.TaskListCollection
Parameters
- hierarchyInfo
- HierarchyInfo
The HierarchyInfo object for which to retrieve the tasks.
Returns
A collection of tasks that are associated with the node.
Remarks
This method enables the hierarchy service to get the tasks for a specific node. The tasks are available from the following task lists:
HierarchyInfoTaskList
ConnectionTaskList
ApplicationPoolsTaskList
SiteTaskList
ApplicationTaskList
For an example of this method, see the example for the HierarchyService class.