مشاركة عبر


DistributionPublisher.HeterogeneousLogReaderAgentExists Property

Gets 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
A Boolean value. If true, the agent job exists. If false, agent job does not exist.

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

The HeterogeneousLogReaderAgentExists property is available with SQL Server 2005 only.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.