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
Get the JobServer object referencing the SQL Server Agent of the target server.
Use the MSXDefect method to break the relationship.
Applies To:
|