SQL Server 2012 Replication Publications and Subscriptions Discovery Provider

Microsoft.SQLServer.2012.ReplicationPublicationsSubscriptionsDiscoveryRule (Discovery)

Consente di individuare le pubblicazioni e le sottoscrizioni di replica per ogni database di SQL Server 2012. The discovery is disabled by default.

Knowledge Base article:

Riepilogo

This object discovery discovers replication publications and subscriptions for each SQL Server 2012 database. The discovery is disabled by default.

Configurazione

Use overrides for individual instances, or groups to enable discovery for replication publications and subscriptions.

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.ReplicationPublicationsSubscriptionsDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.ReplicationPublicationsSubscriptionsDiscoveryRule" Enabled="false" Target="Microsoft.SQLServer.2012.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.Publication">
<Property TypeID="SQL!Microsoft.SQLServer.Publication" PropertyID="PublicationID"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publication" PropertyID="Name"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publication" PropertyID="IsActive"/>
<Property TypeID="SQL!Microsoft.SQLServer.Publication" PropertyID="Description"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.Subscription">
<Property TypeID="SQL!Microsoft.SQLServer.Subscription" PropertyID="Name"/>
<Property TypeID="SQL!Microsoft.SQLServer.Subscription" PropertyID="Publisher"/>
<Property TypeID="SQL!Microsoft.SQLServer.Subscription" PropertyID="PublisherDB"/>
<Property TypeID="SQL!Microsoft.SQLServer.Subscription" PropertyID="Publication"/>
<Property TypeID="SQL!Microsoft.SQLServer.Subscription" PropertyID="Distributor"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.ReplicationPublicationsSubscriptionsDiscovery">
<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>