Share via


TaskHost.ApartmentThreaded Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

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

Syntax

'Declaration
Public ReadOnly Property ApartmentThreaded As Boolean 
    Get
'Usage
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

Property Value

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

See Also

Reference

TaskHost Class

Microsoft.SqlServer.Dts.Runtime Namespace