TaskHost.ApartmentThreaded 屬性

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

Gets a value that indicates whether the task is an apartment-threaded object.

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

語法

'宣告
Public ReadOnly Property ApartmentThreaded As Boolean 
    Get
'用途
Dim instance As TaskHost 
Dim value As Boolean 

value = instance.ApartmentThreaded
public bool ApartmentThreaded { get; }
public:
property bool ApartmentThreaded {
    bool get ();
}
member ApartmentThreaded : bool
function get ApartmentThreaded () : boolean

屬性值

型別:System.Boolean
true if the task is an apartment-threaded object; otherwise, false.

請參閱

參考

TaskHost 類別

Microsoft.SqlServer.Dts.Runtime 命名空間