Share via


MSXEnlist Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The MSXEnlist method initiates SQL Server Agent participation as a target for multiserver administration.

구문

object
.MSXEnlist(
MasterServer
,
Location
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.
  • MasterServer
    String naming a registered instance of Microsoft SQL Server.The instance must be configured as a multiserver administration master server.
  • Location
    String documenting the enlisting server's location. Used for user assistance only.

Prototype (C/C++)

HRESULT MSXEnlist(
SQLDMO_LPCSTR szServer,
SQLDMO_LPCSTR szLocation);

주의

For 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 configured master server, becoming administration target servers (TSX).

SQL Server multiserver administration is implemented using a hub and spoke topology. A master server cannot enlist as a target of any other master server in an organization.

An instance of SQL Server participating as a target server cannot become the target of any other master server by using the MSXEnlist method. Use the MSXDefect method to break an existing master-target relationship prior to enlisting the target server in a new multiserver administration group.

ms136297.note(ko-kr,SQL.90).gif중요:
Only instances of SQL Server version 7.0 running on Microsoft Windows NT 4.0, Microsoft Windows 2000, Microsoft Windows Server 2003 can enlist as target servers.

Applies To:

JobServer Object