# Managed Object - TaskManager

Property of
  ServiceContent
See also
  Task, TaskDescription, TaskFilterSpec, TaskHistoryCollector, TaskInfo
Since
  null

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
description P | TaskDescription |
maxCollector P | xsd:int |
recentTask* P | ManagedObjectReference[] to a Task[] |

*May not be present P Required privilege: System.View

Methods

Methods defined in this Managed Object
CreateCollectorForTasks, CreateTask

# CreateCollectorForTasks

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the TaskManager used to make the method call.
filter P | TaskFilterSpec | Since null

P Required privilege: filter

Return Value

Type | Description
--- | ---
ManagedObjectReference to a TaskHistoryCollector |

Faults

Type | Description
--- | ---
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# CreateTask

Required Privileges
  Task.Create
Since
  VI API 2.5

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the TaskManager used to make the method call.
obj P | ManagedObjectReference | Since VI API 2.5
taskTypeId P | xsd:string | Since VI API 2.5
initiatedBy* P | xsd:string | Since VI API 2.5
cancelable P | xsd:boolean | Since VI API 2.5
parentTaskKey* P | xsd:string | Since VI API 2.5
activationId* P | xsd:string | Since VI API 2.5

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
TaskInfo |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None