PullSubscription.AgentSchedule 속성

정의

구독을 동기화하는 데 사용되는 에이전트 작업의 일정을 가져옵니다.

public:
 property Microsoft::SqlServer::Replication::ReplicationAgentSchedule ^ AgentSchedule { Microsoft::SqlServer::Replication::ReplicationAgentSchedule ^ get(); };
public Microsoft.SqlServer.Replication.ReplicationAgentSchedule AgentSchedule { get; }
member this.AgentSchedule : Microsoft.SqlServer.Replication.ReplicationAgentSchedule
Public ReadOnly Property AgentSchedule As ReplicationAgentSchedule

속성 값

구독 일정을 나타내는 ReplicationAgentSchedule 개체입니다.

설명

구독을 만들기 전에 반환 ReplicationAgentSchedule 된 개체의 속성을 설정해야 합니다. 일정이 설정되면 RMO(복제 관리 개체)를 사용하여 변경할 수 없습니다. 대신 클래스를 JobSchedule 호출하거나 sp_update_schedule(Transact-SQL) 를 실행하여 작업 일정의 ID를 나타내는 기존 일정을 <xref:Microsoft.SqlServer.Replication.PullSubscription.AgentJobID%2A> 변경해야 합니다.

속성은 AgentSchedule 구독자에서 고정 서버 역할의 sysadmin 멤버 또는 구독 데이터베이스의 고정 데이터베이스 역할 멤버 db_owner 에 의해서만 검색할 수 있습니다.

속성을 검색하는 AgentSchedule 것은 sp_helppullsubscription(Transact-SQL) 또는 sp_helpmergepullsubscription(Transact-SQL)를 실행하는 것과 같습니다.

에이전트 일정을 설정하는 것은 sp_addpullsubscription_agent(Transact-SQL) 또는 sp_addmergepullsubscription_agent(Transact-SQL)를 실행하는 것과 같습니다.

적용 대상

추가 정보