Share via


DistributionDatabase.CreateQueueReaderAgent 메서드

Creates the Queue Reader Agent job on the distribution database.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Sub CreateQueueReaderAgent
‘사용 방법
Dim instance As DistributionDatabase

instance.CreateQueueReaderAgent()
public void CreateQueueReaderAgent()
public:
void CreateQueueReaderAgent()
member CreateQueueReaderAgent : unit -> unit
public function CreateQueueReaderAgent()

주의

The CreateQueueReaderAgent method can only be called by members of the sysadmin fixed server role at the Distributor or by members of the db_owner fixed database role on the distribution database.

Calling CreateQueueReaderAgent is equivalent to executing sp_addqreader_agent.

참고 항목

참조

DistributionDatabase 클래스

Microsoft.SqlServer.Replication 네임스페이스