DistributionDatabase.QueueReaderAgentProcessSecurity プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Queue Reader Agentジョブを実行するためのエージェントプロセスのセキュリティコンテキストを取得します。
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を実行するのと同等です。