次の方法で共有


AgentOffload Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The AgentOffload property specifies whether Merge Agent or Distribution Agent runs on a computer other than the computer on which the agent is created.

構文

object
.
AgentOffload [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetAgentOffload(LPBOOL pRetVal);
HRESULT SetAgentOffload(BOOL NewValue);

解説

Set the AgentOffload property to TRUE to run Merge Agent or Distribution Agent on a remote computer that is not the computer on which the agent is created. Specify the remote computer name by setting the AgentOffloadServer property after setting AgentOffload to TRUE. Specifying a remote computer to run Merge Agent or Distribution Agent can enhance performance if the default computer must handle many agent processes.

If AgentOffload is not set or is set to FALSE, Merge Agent or Distribution Agent runs on the default computer on which the agent is created. By default, Merge Agent and Distribution Agent run at the Distributor for push subscriptions, and they run at the Subscriber for pull subscriptions.

ms131953.note(ja-jp,SQL.90).gifメモ :
If an application calls AgentOffload on an instance of Microsoft SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000 and later" are returned.

Applies To:

MergePullSubscription2 Object

TransPullSubscription2 Object

MergeSubscription2 Object

TransSubscription2 Object

参照

関連項目

AgentOffloadServer Property

ヘルプおよび情報

SQL Server 2005 の参考資料の入手