[取代] 探索複寫元件

Microsoft.SQLServer.2012.ReplicationComponentDiscoveryRule (Discovery)

此物件探索會探索 SQL Server 2012 Database Engine 上的所有 SQL Server Replication 元件。預設會停用探索。已考慮在此管理組件中加以淘汰。

Knowledge Base article:

摘要

此物件探索會探索 SQL Server 2012 Database Engine 上的所有 SQL Server Replication 元件。預設會停用探索。已考慮在此管理組件中加以淘汰。

組態

為個別的執行個體或群組使用覆寫,以啟用探索。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

間隔 (秒)

執行探索的輪詢間隔 (秒)。

14400

同步處理時間

使用 24 小時制指定的同步處理時間。可以予以省略。

 

逾時 (秒)

指定工作流程在關閉並標記為失敗前所能執行的時間。

300

Element properties:

TargetMicrosoft.SQLServer.2012.DBEngine
EnabledFalse
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.ReplicationComponentDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.ReplicationComponentDiscoveryRule" Enabled="false" Target="Microsoft.SQLServer.2012.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.Distributor">
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="DistributionServer"/>
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="DistributionDB"/>
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="Directory"/>
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="Account"/>
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="DistributionDBInstalled"/>
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="IsDistributionPublisher"/>
<Property TypeID="SQL!Microsoft.SQLServer.Distributor" PropertyID="HasRemoteDistributionPublisher"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.Publisher">
<Property TypeID="SQL!Microsoft.SQLServer.Publisher" PropertyID="Name"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publisher" PropertyID="DistributionDB"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publisher" PropertyID="PublisherType"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publisher" PropertyID="DataSource"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publisher" PropertyID="WorkingDirectory"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.ReplicationComponentDiscovery">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<NetworkName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</NetworkName>
<SQLConnectionString>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</SQLConnectionString>
<SQLInstanceName>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</SQLInstanceName>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>