AgentProfile.AgentType 속성

정의

프로필에서 나타내는 복제 에이전트의 유형을 가져오거나 설정합니다.

public:
 property Microsoft::SqlServer::Replication::AgentType AgentType { Microsoft::SqlServer::Replication::AgentType get(); void set(Microsoft::SqlServer::Replication::AgentType value); };
public Microsoft.SqlServer.Replication.AgentType AgentType { get; set; }
member this.AgentType : Microsoft.SqlServer.Replication.AgentType with get, set
Public Property AgentType As AgentType

속성 값

복제 에이전트 유형을 지정하는 AgentType 개체 값입니다.

예외

기존 프로필에 대해 를 설정하는 AgentType 경우

MiscellaneousAgents 또는 지원되지 않는 다른 값 AgentType 이 제공되는 경우.

설명

속성은 AgentType 읽기/쓰기 속성이며 개체를 만들기 전에 이 속성을 설정해야 합니다. 서버에 프로필을 만든 후에는 이 속성을 변경할 수 없습니다.

MiscellaneousAgents 설정은 지원되지 않습니다.

속성은 AgentType 배포자에서 고정 서버 역할의 sysadmin 멤버 또는 고정 데이터베이스 역할의 replmonitor 멤버에 의해서만 검색할 수 있습니다.

속성은 AgentType 서버에 새 프로필을 만들 때 배포자에서 고정 서버 역할의 sysadmin 멤버에 의해서만 설정할 수 있습니다.

AgentType 검색은 sp_help_agent_profile(Transact-SQL)을 실행하는 것과 같습니다.

설정 AgentType 및 호출 Createsp_add_agent_profile(Transact-SQL)을 실행하는 것과 같습니다.

적용 대상

추가 정보