Subscription.AgentJobId プロパティ

定義

サブスクリプション同期に使われたエージェントジョブのIDを取得します。

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

プロパティ値

エージェントの ID。

注釈

<xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A> プロパティは読み取り専用プロパティです。

<xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A>プロパティは、Publisherのsysadmin固定サーバーロールのメンバー、出版データベースのdb_owner固定データベースロールのメンバー、またはサブスクリプションを作成したユーザーのみが取得可能です。

<xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A>財産の回収は、sp_helpsubscriptionsp_helpmergesubscriptionを実行するのと同等です。

適用対象