Bagikan melalui


Subscription.AgentJobId Properti

Definisi

Mendapatkan ID pekerjaan agen yang digunakan untuk menyinkronkan langganan.

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

Nilai Properti

ID agen.

Keterangan

Properti <xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A> adalah properti baca-saja.

Properti <xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A> hanya dapat diambil oleh anggota peran server tetap sysadmin di Publisher, oleh anggota db_owner peran database tetap pada database publikasi, atau oleh pengguna yang membuat langganan.

Mengambil <xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A> properti setara dengan menjalankan sp_helpsubscription atau sp_helpmergesubscription.

Berlaku untuk