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.