共用方式為


IDTSObjectHost 介面

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Interface IDTSObjectHost
'用途
Dim instance As IDTSObjectHost
public interface IDTSObjectHost
public interface class IDTSObjectHost
type IDTSObjectHost =  interface end
public interface IDTSObjectHost

IDTSObjectHost 型別公開下列成員。

屬性

  名稱 說明
公用屬性 HostType Returns a value from the DTSObjectHostType enumerating that indicates the type of this host.
公用屬性 InnerObject Retrieves the hosted object. This field is read-only.

上層

備註

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.