Package.PackagePriorityClass 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定包线程的 Win32 线程优先级类。
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
属性值
包线程的 Win32 线程优先级类。
- 属性
示例
下面的示例演示设置 PackagePriorityClass时要使用的语法。
Package p = new Package();
p.PackagePriorityClass = DTSPriorityClass.BelowNormal;
Dim p As Package = New Package()
p.PackagePriorityClass = DTSPriorityClass.BelowNormal