Discover Filegroups

Microsoft.SQLServer.2012.DBFileGroupDiscoveryRule (Discovery)

This object discovery discovers the Filegroup information for each SQL Server 2012 Database.

Knowledge Base article:

Summary

This object discovery discovers the Filegroup information for each SQL Server 2012 Database.

Overridable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

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
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.DBFileGroupDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.DBFileGroupDiscoveryRule" Enabled="true" Target="Microsoft.SQLServer.2012.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.DBFileGroup">
<Property TypeID="SQL!Microsoft.SQLServer.DBFileGroup" PropertyID="GroupID"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFileGroup" PropertyID="GroupName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFileGroup" PropertyID="Size"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFileGroup" PropertyID="ReadOnly"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.DBFileGroupDiscovery">
<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>