DistributionSubscription.AgentJobId Property
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.
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.