Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDTSObjectHost Interface

Defines an interface that allows components to be treated as generic host objects.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
public interface IDTSObjectHost

The IDTSObjectHost type exposes the following members.

  NameDescription
Public propertyHostTypeReturns a value from the DTSObjectHostType enumerating that indicates the type of this host.
Public propertyInnerObjectRetrieves the hosted object. This field is read-only.
Top

This interface, when inherited by a class, allows that class to access an inner object. For example, there are many kinds of connections. All connection have properties in common, and then they have properties that are unique to that connection alone. The ConnectionManager is a generic host to connections, providing access directly to all the common properties. Because ConnectionManager implements this interface, you also have access to the specific object it holds through the InnerObject property.

Several classes implement this IDTSObjectHost interface, including the LogProvider, ConnectionManager, TaskHost, and ForEachEnumerator.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.