Package.PackagePriorityClass Property

 

Applies To: SQL Server 2016 Preview

Specifies the Win32 thread priority class of the package thread.

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

Syntax

public DTSPriorityClass PackagePriorityClass { get; set; }
public:
property DTSPriorityClass PackagePriorityClass {
    DTSPriorityClass get();
    void set(DTSPriorityClass value);
}
member PackagePriorityClass : DTSPriorityClass with get, set
Public Property PackagePriorityClass As DTSPriorityClass

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.DTSPriorityClass

The Win32 thread priority class of the package thread.

Examples

Legacy Code Example

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

See Also

Package Class
Microsoft.SqlServer.Dts.Runtime Namespace

Return to top