ConnectionManagerHostClass.HostType 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets an enumeration that describes the type of host that the connection is being used by. This property is read-only.

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

語法

'宣告
Public Overridable ReadOnly Property HostType As DTSObjectHostType 
    Get
'用途
Dim instance As ConnectionManagerHostClass 
Dim value As DTSObjectHostType 

value = instance.HostType
public virtual DTSObjectHostType HostType { get; }
public:
virtual property DTSObjectHostType HostType {
    DTSObjectHostType get ();
}
abstract HostType : DTSObjectHostType 
override HostType : DTSObjectHostType
function get HostType () : DTSObjectHostType

屬性值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSObjectHostType
One of the enumeration values of the DTSObjectHostType enumeration.

實作

IDTSObjectHost100.HostType

備註

For more information, see ConnectionManager.

請參閱

參考

ConnectionManagerHostClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間