DTSObjectHostType Enumeration
Describes the type of container that is hosting the other task or container.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
| Member name | Description | |
|---|---|---|
| ConnectionManager | The host is a connection manager. | |
| ForEachEnumerator | The host is a Foreach enumerator. | |
| LogProvider | The host is a log provider. | |
| Task | The host is a task. |
The following code example creates a package and adds a Sequence container to it. A FileSystemTask is then added to the task host, and the HostType property is reviewed, returning a value from the DTSObjectHostType enumeration.
Sample Output:
Host Type: Task
Show: