다음을 통해 공유


PerfMonMode Property

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

The PerfMonMode property controls the polling behavior of System Monitor in Microsoft Windows when the monitor is started.

구문

object.PerfMonMode [= value]

Parts

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

  • value
    A long integer that specifies System Monitor polling behavior as described in Settings.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetPerfMonMode(SQLDMO_PERFMON_TYPE* pRetVal);
HRESULT SetPerfMonMode(SQLDMO_PERFMON_TYPE NewValue);

Settings

Constant

Value

Description

SQLDMOPerfmon_Continuous

0

Configures System Monitor statistics polling using the operating system default time slice.

SQLDMOPerfmon_None

1000

The value is not valid.

SQLDMOPerfmon_OnDemand

1

Configures System Monitor to poll for statistics when directed to do so by the user.

주의

The PerfMonMode property determines polling behavior as System Monitor is started. System Monitor polling behavior can be changed in System Monitor when the application has successfully started.

Applies To: