Partager via


PackagePriorityClass propriété

Specifies the Win32 thread priority class of the package thread.

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

Syntaxe

'Déclaration
Public Property PackagePriorityClass As DTSPriorityClass
    Get
    Set
'Utilisation
Dim instance As Package
Dim value As DTSPriorityClass

value = instance.PackagePriorityClass

instance.PackagePriorityClass = value
public DTSPriorityClass PackagePriorityClass { get; set; }
public:
property DTSPriorityClass PackagePriorityClass {
    DTSPriorityClass get ();
    void set (DTSPriorityClass value);
}
member PackagePriorityClass : DTSPriorityClass with get, set
function get PackagePriorityClass () : DTSPriorityClass
function set PackagePriorityClass (value : DTSPriorityClass)

Valeur de la propriété

Type : Microsoft.SqlServer.Dts.Runtime. . :: . .DTSPriorityClass
A value from the DTSPriorityClass enumeration.

Exemples

The following example shows the syntax to use when setting the PackagePriorityClass.

Package p = new Package();
p.PackagePriorityClass = DTSPriorityClass.BelowNormal;
Dim p As Package =  New Package() 
p.PackagePriorityClass = DTSPriorityClass.BelowNormal