MSXDefect Method

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

The MSXDefect method ends SQL Server Agent participation in a multiserver administration group.

構文

object
.MSXDefect(
)

Parts

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

Prototype (C/C++)

HRESULT MSXDefect();

解説

For Microsoft SQL Server, multiserver administration participation is configured by performing two tasks. An instance of SQL Server declares itself a multiserver administration master server (MSX) by creating an administering operator. One or more instances of SQL Server then enlist with the master server, becoming administration target servers (TSX).

To break a master-target relationship in a multiserver administration group

  1. Get the JobServer object referencing the SQL Server Agent of the target server.

  2. Use the MSXDefect method to break the relationship.

Applies To:

JobServer Object