MSSQL 2016: Popular Grupo dos Bancos de Dados do SQL Server 2016

Microsoft.SQLServer.2016.DatabasesGroup.Discovery (Discovery)

Esta regra de descoberta irá popular o grupo de Bancos de dados do SQL Server 2016 com todos os bancos de Dados do SQL Server 2016.

Knowledge Base article:

Resumo

Esta regra de descoberta irá popular o grupo de Bancos de dados do SQL Server 2016 com todos os bancos de Dados do SQL Server 2016.

Parâmetros Substituíveis

Nome

Descrição

Valor padrão

Habilitado

Enables or disables the workflow.

Sim

Element properties:

TargetMicrosoft.SQLServer.2016.DatabasesGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2016.DatabasesGroup.Discovery" Target="Microsoft.SQLServer.2016.DatabasesGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.DatabasesGroup"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Discovery!Microsoft.SQLServer.2016.Database"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2016.DatabasesGroupContainsDatabase"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>