HeterogeneousLogReaderAgentExists 屬性
Gets whether the Log Reader Agent job exists for the non-SQL Server Publisher.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public ReadOnly Property HeterogeneousLogReaderAgentExists As Boolean
Get
'用途
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
屬性值
型別:System. . :: . .Boolean
A Boolean value. If true, the agent job exists. If false, agent job does not exist.
備註
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.