다음을 통해 공유


ResourceUsage Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The ResourceUsage property specifies a relative operating system execution priority setting for the Microsoft Search service.

구문

object.ResourceUsage [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    A long integer from 1 through 5

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetResourceUsage(LPLONG pRetVal);
HRESULT SetResourceUsage(long NewValue);

주의

Use the ResourceUsage property to raise or lower execution priority for a running Microsoft Search service. By default, ResourceUsage is 3, interpreted as normal priority for the service. Set ResourceUsage to 2 or 1 to lower the execution priority for the Microsoft Search service. Set ResourceUsage to 4 or 5 to raise the execution priority.

[!참고]

A ResourceUsage property value of 5 represents dedicated priority for the Microsoft Search service. Setting the ResourceUsage property to a value higher than 3 can have unintended consequences and should be considered only after evaluating the possible effects on other services running on the computer.

When the Microsoft Search service is not running, the ResourceUsage property returns 0.