Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.
The ResourceUsage property specifies a relative operating system execution priority setting for the Microsoft Search service.
Sintassi
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);
Osservazioni
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.
[!NOTA] 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.
[!NOTA] ResourceUsage can be used with Microsoft SQL Server 2005, SQL Server 2000, and SQL Server 7.0.