The object discovery discovers all subscriptions of a Subscriber of Microsoft SQL Server 2017 on Windows.
A subscription is a request for a copy of a publication to be delivered to a Subscriber. The subscription defines what publication will be received, where, and when. There are two types of subscriptions: push and pull. For more information about push and pull subscriptions, see Subscribe to Publications.
Replication Publishing Model Overview
Name | Description | Default Value |
Enabled | Enables or disables the workflow. | Yes |
Interval (seconds) | The recurring interval of time in seconds in which to run the workflow. | 14400 |
Synchronization Time | Synchronization Time |
|
Timeout (seconds) | Specifies the time the workflow is allowed to run before being closed and marked as failed. | 300 |
Timeout for database connection (seconds) | The workflow will fail and register an event, if it cannot access the database during the specified period. | 15 |
Target | Microsoft.SQLServer.2017.Replication.Windows.Subscriber |
Enabled | True |
Frequency | 14400 |
Remotable | False |
Discovered Classes and their attribuets: |
---|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2017.Replication.Windows.DataSource.SubscriptionDiscovery | Microsoft.SQLServer.DiscoveryAccount |
<Discovery ID="Microsoft.SQLServer.2017.Replication.Windows.Discovery.Subscription" Target="Microsoft.SQLServer.2017.Replication.Windows.Subscriber" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2017.Replication.Windows.Subscription"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2017.Replication.Windows.DataSource.SubscriptionDiscovery" RunAs="GPMP!Microsoft.SQLServer.DiscoveryAccount">
<MachineName>$Target/Host/Property[Type='SQL2017L!Microsoft.SQLServer.2017.Library.DBEngine']/MachineName$</MachineName>
<InstanceName>$Target/Host/Property[Type='SQL2017L!Microsoft.SQLServer.2017.Library.DBEngine']/InstanceName$</InstanceName>
<ConnectionString>$Target/Host/Property[Type='SQL2017L!Microsoft.SQLServer.2017.Library.DBEngine']/ConnectionString$</ConnectionString>
<MonitoringType>$Target/Host/Property[Type="SQL2017WD!Microsoft.SQLServer.2017.Windows.DBEngine"]/MonitoringType$</MonitoringType>
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<SqlTimeoutSeconds>15</SqlTimeoutSeconds>
<ClassId>$MPElement[Name='Microsoft.SQLServer.2017.Replication.Windows.Subscription']$</ClassId>
<SubscriptionDatabaseRelationshipId>$MPElement[Name='MSRL!Microsoft.SQLServer.2017.Replication.Library.GenericSubscriptionRefersSystemDatabase']$</SubscriptionDatabaseRelationshipId>
<SqlDatabaseClassId>$MPElement[Name='SQL2017WD!Microsoft.SQLServer.2017.Windows.Database']$</SqlDatabaseClassId>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>