[Deprecated] SQL Server 2012 Replication Publications and Subscriptions Discovery Provider

Microsoft.SQLServer.2012.ReplicationPublicationsSubscriptionsDiscoveryRule (Discovery)

This object discovery discovers replication publications and subscriptions for each SQL Server 2012 database. The discovery is disabled by default. Considered to be obsolete in this Management Pack.

Knowledge Base article:

Summary

This object discovery discovers replication publications and subscriptions for each SQL Server 2012 database. The discovery is disabled by default. Considered to be obsolete in this Management Pack.

Configuration

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

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

No

Interval (seconds)

The polling interval in seconds that discovery will run on.

14400

Synchronization Time

The synchronization time specified by using a 24-hour format. May be omitted.

 

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

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