Delen via


DistributionPublisher.HeterogeneousLogReaderAgentExists Property

Gets a value that indicates whether the Log Reader Agent job exists for the non-SQL Server Publisher.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property HeterogeneousLogReaderAgentExists As Boolean 
    Get
'Usage
Dim instance As DistributionPublisher 
Dim value As Boolean 

value = instance.HeterogeneousLogReaderAgentExists
public bool HeterogeneousLogReaderAgentExists { get; }
public:
property bool HeterogeneousLogReaderAgentExists {
    bool get ();
}
member HeterogeneousLogReaderAgentExists : bool
function get HeterogeneousLogReaderAgentExists () : boolean

Property Value

Type: System.Boolean
true if the agent job exists; otherwise, false.

Remarks

The HeterogeneousLogReaderAgentExists property is only supported for non-SQL Server Publishers. For SQL Server Publishers, use LogReaderAgentExists.

The HeterogeneousLogReaderAgentExists property can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner fixed database role on the distribution database.

Retrieving the HeterogeneousLogReaderAgentExists property is equivalent to executing sp_helplogreader_agent.

The HeterogeneousLogReaderAgentExists property is a read/write property.

See Also

Reference

DistributionPublisher Class

Microsoft.SqlServer.Replication Namespace