MSXDefect Method (SQL-DMO)

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

Applies To

JobServer Object

Syntax

object.MSXDefect( )

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

For Microsoft® SQL Server™, multiserver administration participation is configured by performing two tasks. A SQL Server installation declares itself a multiserver administration master server (MSX) by creating an administering operator. One or more SQL Server installations then enlist with the MSX, 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 TSX.
  2. Use the MSXDefect method to break the relationship.
Prototype (C/C++)

HRESULT MSXDefect();

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.