다음을 통해 공유


JobServer.MsxDefect 메서드 (Boolean)

Ends SQL Server Agent participation in a multiserver administration group with the option to force defection.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub MsxDefect ( _
    forceDefection As Boolean _
)
‘사용 방법
Dim instance As JobServer 
Dim forceDefection As Boolean

instance.MsxDefect(forceDefection)
public void MsxDefect(
    bool forceDefection
)
public:
void MsxDefect(
    bool forceDefection
)
member MsxDefect : 
        forceDefection:bool -> unit
public function MsxDefect(
    forceDefection : boolean
)

매개 변수

  • forceDefection
    유형: System.Boolean
    A Boolean value that specifies whether to allow for a forceful removal of the target server when the master server connection has been permanently lost. If True, the forceful removal of the target server is allowed.If False, the removal of the target server is not forced.

주의

Use the forceDetection parameter with caution, because if the master server still has the target server registered, the target server must be manually removed from the master server.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

MsxDefect 오버로드

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_msx_defect(Transact-SQL)