다음을 통해 공유


JobStep.OSRunPriority 속성

Gets or sets the execution thread scheduling for job steps executing operating system tasks.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property OSRunPriority As OSRunPriority 
    Get 
    Set
‘사용 방법
Dim instance As JobStep 
Dim value As OSRunPriority 

value = instance.OSRunPriority

instance.OSRunPriority = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public OSRunPriority OSRunPriority { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property OSRunPriority OSRunPriority {
    OSRunPriority get ();
    void set (OSRunPriority value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member OSRunPriority : OSRunPriority with get, set
function get OSRunPriority () : OSRunPriority 
function set OSRunPriority (value : OSRunPriority)

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent.OSRunPriority
An OSRunPriority value that specifies the priority given to job steps executing operating system tasks.

주의

Set the OSRunPriority property to modify execution thread scheduling for job steps executing operating system commands. The property specifies a thread priority relative to that granted to an instance of Microsoft SQL Server.

Caution   Setting operating system thread priority can have adverse effects on other processes running on the server. Care should be taken when specifying priorities greater than normal.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobStep 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_help_jobstep(Transact-SQL)