Share via


DistributionDatabase.CreateQueueReaderAgent Method

Definition

Creates the Queue Reader Agent job on the distribution database.

public:
 void CreateQueueReaderAgent();
public void CreateQueueReaderAgent ();
member this.CreateQueueReaderAgent : unit -> unit
Public Sub CreateQueueReaderAgent ()

Remarks

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.

Applies to