Share via


DistributionSubscription.DistributionAgent Property

Definition

Gets the name of the SQL Server Agent job that is used to synchronize the subscription.

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

Property Value

The name of the SQL Server Agent job that is used to synchronize the subscription.

Remarks

The DistributionAgent property can only be retrieved by members of the db_owner fixed database role on the distribution database.

Applies to