PullSubscription.AgentJobId プロパティ

定義

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

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

プロパティ値

String SQL Server エージェント ジョブ ID 値を表す値。

注釈

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

<xref:Microsoft.SqlServer.Replication.PullSubscription.AgentJobID%2A> プロパティを取得できるのは、サブスクライバー側の固定サーバー ロール sysadmin のメンバー、またはサブスクリプション データベースの固定データベース ロール db_owner のメンバーだけです。

プロパティの <xref:Microsoft.SqlServer.Replication.PullSubscription.AgentJobID%2A> 取得は、 sp_helppullsubscription (Transact-SQL) または sp_helpmergepullsubscription (Transact-SQL)実行と同じです。

適用対象