共用方式為


DistributionPublisher.HeterogeneousLogReaderAgentExists Property

Definition

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

public:
 property bool HeterogeneousLogReaderAgentExists { bool get(); };
public bool HeterogeneousLogReaderAgentExists { get; }
member this.HeterogeneousLogReaderAgentExists : bool
Public ReadOnly Property HeterogeneousLogReaderAgentExists As Boolean

Property Value

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.

Applies to