Share via


Package.PackagePriorityClass Property

Definition

Specifies the Win32 thread priority class of the package thread.

public:
 property Microsoft::SqlServer::Dts::Runtime::DTSPriorityClass PackagePriorityClass { Microsoft::SqlServer::Dts::Runtime::DTSPriorityClass get(); void set(Microsoft::SqlServer::Dts::Runtime::DTSPriorityClass value); };
[Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyCategory(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "PropertyCategoryExecution")]
[Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescription(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "PackagePriorityClassDesc")]
public Microsoft.SqlServer.Dts.Runtime.DTSPriorityClass PackagePriorityClass { get; set; }
[<Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyCategory(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "PropertyCategoryExecution")>]
[<Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescription(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "PackagePriorityClassDesc")>]
member this.PackagePriorityClass : Microsoft.SqlServer.Dts.Runtime.DTSPriorityClass with get, set
Public Property PackagePriorityClass As DTSPriorityClass

Property Value

The Win32 thread priority class of the package thread.

Attributes

Examples

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  

Applies to