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 命名空间