DistributionPublisher.HeterogeneousLogReaderAgentProcessSecurity プロパティ

定義

ログリーダーエージェントが非SQL Server Publisherで使うセキュリティコンテキストを取得します。

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

プロパティ値

IProcessSecurityContextインターフェースの一例です。

注釈

HeterogeneousLogReaderAgentProcessSecurityプロパティは非SQL Server出版社のみに使用されます。

HeterogeneousLogReaderAgentProcessSecurity プロパティは読み取り専用です。 返却された IProcessSecurityContext インターフェースのセキュリティプロパティを設定します。 エージェントが行う接続やそれに必要な権限については、「 レプリケーションエージェントセキュリティモデル」を参照してください。

HeterogeneousLogReaderAgentProcessSecurityプロパティは、ディストリビューターのsysadmin固定サーバーロールのメンバーか、配布データベース上のdb_owner固定データベースメンバーのみが取得できます。

返される IProcessSecurityContext インターフェースのプロパティは、ディストリビューターの sysadmin 固定サーバー役割のメンバーか、配布データベース上の db_owner 固定データベース役割のメンバーによってのみ設定可能です。

HeterogeneousLogReaderAgentProcessSecurityプロパティの回収はsp_helplogreader_agentを実行するのと同等です。

返された IProcessSecurityContext インターフェースのプロパティを設定することは、 sp_addlogreader_agentsp_changelogreader_agentを実行するのと同等です。

適用対象