DistributionDatabase.QueueReaderAgentProcessSecurity プロパティ

定義

キュー リーダー エージェント ジョブを実行するためのエージェント プロセス セキュリティ コンテキストを取得します。

public:
 property Microsoft::SqlServer::Replication::IProcessSecurityContext ^ QueueReaderAgentProcessSecurity { Microsoft::SqlServer::Replication::IProcessSecurityContext ^ get(); };
public Microsoft.SqlServer.Replication.IProcessSecurityContext QueueReaderAgentProcessSecurity { get; }
member this.QueueReaderAgentProcessSecurity : Microsoft.SqlServer.Replication.IProcessSecurityContext
Public ReadOnly Property QueueReaderAgentProcessSecurity As IProcessSecurityContext

プロパティ値

インターフェイスの IProcessSecurityContext インスタンス。

注釈

QueueReaderAgentProcessSecurity は読み取り専用プロパティです。 返された IProcessSecurityContext インターフェイスを使用して、キュー リーダー エージェント ジョブを実行する Microsoft Windows アカウントを指定します。 エージェントが行う接続と、それらの接続に必要なアクセス許可については、 レプリケーション エージェント セキュリティ モデルに関するセクションを参照してください。

QueueReaderAgentProcessSecurity プロパティを取得できるのは、ディストリビューター側の固定サーバー ロール sysadmin のメンバー、またはディストリビューション データベースの固定データベース ロール db_owner のメンバーだけです。

返された IProcessSecurityContext オブジェクトのプロパティを設定できるのは、ディストリビューター側の固定サーバー ロール sysadmin のメンバーだけです。

プロパティの QueueReaderAgentProcessSecurity 取得は、 sp_helpqreader_agentの実行と同じです。

返される IProcessSecurityContext インターフェイスのプロパティの設定は、 sp_addqreader_agent または sp_changeqreader_agentの実行と同じです。

適用対象