Windows 複寫上 MSSQL: 訂閱者探索

Microsoft.SQLServer.Replication.Windows.Discovery.Subscriber (Discovery)

物件探索會探索 Windows 上 Microsoft SQL Server 執行個體的訂閱者。

Knowledge Base article:

摘要

訂閱者是接收複寫資料的資料庫執行個體。訂閱者可以接收來自多個發行者與發行集的資料。訂閱者也可依據選取的複寫類型,將資料變更傳回給發行者,或將資料重新發行給其他訂閱者。

外部

複寫發行模型概觀

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

間隔 (秒)

每次重複執行工作流程之間的時間間隔 (秒)。

14400

同步處理時間

同步處理時間

 

逾時 (秒)

指定工作流程失敗多少次後關閉並標示為失敗。

300

資料庫連線的逾時 (秒)

若工作流程無法在指定的期限之內存取資料庫,將會失敗並登錄一則事件。

15

Element properties:

TargetMicrosoft.SQLServer.Windows.DBEngine
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.Replication.Windows.DataSource.SubscriberDiscovery Microsoft.SQLServer.Core.RunAs.Discovery

Source Code:

<Discovery ID="Microsoft.SQLServer.Replication.Windows.Discovery.Subscriber" Target="SqlDiscW!Microsoft.SQLServer.Windows.DBEngine" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.Replication.Windows.Subscriber"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Replication.Windows.DataSource.SubscriberDiscovery" RunAs="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.Discovery">
<MachineName>$Target/Property[Type='SqlCoreLib!Microsoft.SQLServer.Core.DBEngine']/MachineName$</MachineName>
<NetbiosComputerName>$Target/Property[Type='SqlCoreLib!Microsoft.SQLServer.Core.DBEngine']/NetbiosComputerName$</NetbiosComputerName>
<InstanceName>$Target/Property[Type='SqlCoreLib!Microsoft.SQLServer.Core.DBEngine']/InstanceName$</InstanceName>
<ConnectionString>$Target/Property[Type='SqlCoreLib!Microsoft.SQLServer.Core.DBEngine']/ConnectionString$</ConnectionString>
<MonitoringType>$Target/Property[Type="SqlDiscW!Microsoft.SQLServer.Windows.DBEngine"]/MonitoringType$</MonitoringType>
<ServiceName>$Target/Property[Type='SqlCoreLib!Microsoft.SQLServer.Core.DBEngine']/ServiceName$</ServiceName>
<AgentServiceName>$Target/Property[Type='SqlCoreLib!Microsoft.SQLServer.Core.DBEngine']/AgentName$</AgentServiceName>
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<SqlTimeoutSeconds>15</SqlTimeoutSeconds>
<ClassId>$MPElement[Name='Microsoft.SQLServer.Replication.Windows.Subscriber']$</ClassId>
<InstanceClassId>$MPElement[Name='SqlDiscW!Microsoft.SQLServer.Windows.DBEngine']$</InstanceClassId>
<SubscriberInstanceGroupClassId>$MPElement[Name='MSRL!Microsoft.SQLServer.Replication.Core.SubscriberInstanceGroup']$</SubscriberInstanceGroupClassId>
<SubscriberInstanceGroupContainsInstanceRelationId>$MPElement[Name='MSRL!Microsoft.SQLServer.Replication.Core.SubscriberInstanceGroupContainsInstance']$</SubscriberInstanceGroupContainsInstanceRelationId>
<SubscriberExpressGroupClassId>$MPElement[Name='MSRL!Microsoft.SQLServer.Replication.Core.SubscriberExpressGroup']$</SubscriberExpressGroupClassId>
<SubscriberExpressGroupContainsGenericSubscriberRelationId>$MPElement[Name='MSRL!Microsoft.SQLServer.Replication.Core.SubscriberExpressGroupContainsGenericSubscriber']$</SubscriberExpressGroupContainsGenericSubscriberRelationId>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>