[弃用]发现复制组件

Microsoft.SQLServer.2008.ReplicationComponentDiscoveryRule (Discovery)

此对象发现可发现 SQL Server 2008 数据库引擎上的所有 SQL Server 复制组件。该发现在默认情况下为禁用。在此管理包中被视作已过时。

Knowledge Base article:

摘要

此对象发现可发现 SQL Server 2008 数据库引擎上的所有 SQL Server 复制组件。该发现在默认情况下为禁用。在此管理包中被视作已过时。

配置

使用替代来为单个实例或组启用发现。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

间隔(秒)

将运行发现的轮询间隔(秒)。

14400

同步时间

要执行初始发现的时间

 

超时(秒)

 

300

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
EnabledFalse
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.2008.ReplicationComponentDiscoveryRule" Enabled="false" Target="Microsoft.SQLServer.2008.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2008.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.2008.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.2008.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>