Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ReplicationDatabase.LogReaderAgentPublisherSecurity Property

Definition

Namespace:
Microsoft.SqlServer.Replication
Assembly:
Microsoft.SqlServer.Rmo.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the login used by the Log Reader Agent to connect to the Publisher.

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

Property Value

An IProcessSecurityContext value that specifies the type of authentication and login used by the Log Reader Agent to connect to the Publisher.

Remarks

For security reasons, Password is always masked in the return value.

The LogReaderAgentPublisherSecurity property can be retrieved by members of the sysadmin fixed server role or by members of the db_owner fixed database role of the published database.

Retrieving the LogReaderAgentPublisherSecurity property is equivalent to executing sp_helplogreader_agent (Transact-SQL).

Applies to