AgentCheckupInterval Property
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The AgentCheckupInterval property specifies the default time slice for scheduled replication agent activities.
語法
object.AgentCheckupInterval [ = value ]
Parts
object
An expression that evaluates to an object in the Applies To list.value
A long integer specifying the number of minutes. The default is 10.
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetAgentCheckupInterval(LPLONG pRetVal);
HRESULT SetAgentCheckupInterval(long lVal);
備註
When replication is configured, jobs are created that test and clean supporting databases and tables. By default, these replication "check-up" jobs are scheduled to occur every ten minutes.
To alter the default, set the AgentCheckupInterval property after installing the replication Distributor.