Détection des composants de réplication

Microsoft.SQLServer.2012.ReplicationComponentDiscoveryRule (Discovery)

Cette détection des objets permet de détecter tous les composants de réplication SQL Server sur un moteur de base de données SQL Server 2012. La détection est désactivée par défaut.

Knowledge Base article:

Résumé

Cette détection des objets permet de détecter tous les composants de réplication SQL Server sur un moteur de base de données SQL Server 2012. La détection est désactivée par défaut.

Configuration

Utilisez les remplacements pour activer la détection pour les instances individuelles ou les groupes.

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>