Partager via


Propriété TaskHost.ApartmentThreaded

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ApartmentThreaded As Boolean 
    Get
'Utilisation
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

Valeur de propriété

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

Voir aussi

Référence

TaskHost Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime