DistributionDatabase.CreateQueueReaderAgent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.