Proprietà DistributionSubscription.DistributionAgent
Gets the name of the SQL Server Agent job that is used to synchronize the subscription.
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Property DistributionAgent As String
Get
'Utilizzo
Dim instance As DistributionSubscription
Dim value As String
value = instance.DistributionAgent
public string DistributionAgent { get; }
public:
property String^ DistributionAgent {
String^ get ();
}
member DistributionAgent : string
function get DistributionAgent () : String
Valore proprietà
Tipo: System.String
The name of the SQL Server Agent job that is used to synchronize the subscription.
Osservazioni
The DistributionAgent property can only be retrieved by members of the db_owner fixed database role on the distribution database.