Share via


DistributionSubscription.AgentJobId Property

Definition

Gets the ID of the SQL Server Agent job that synchronizes the Subscription.

public:
 property System::String ^ AgentJobId { System::String ^ get(); };
public string AgentJobId { get; }
member this.AgentJobId : string
Public ReadOnly Property AgentJobId As String

Property Value

An agent job ID.

Remarks

The <xref:Microsoft.SqlServer.Replication.DistributionSubscription.AgentJobID%2A> property can only be retrieved by members of the db_owner fixed database role on the distribution database.

Applies to