SSAS: Tabular DB Discovery

Microsoft.SQLServer.AnalysisServices.Windows.Discovery.TabularDatabase (Discovery)

The rule discovers all databases running for a given instance of Microsoft SQL Server Analysis Services, Tabular Mode.

Knowledge Base article:

Summary

The rule discovers all databases running for a given instance of Microsoft SQL Server Analysis Services, Tabular Mode.

Overridable Parameters

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

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

Exclude List

A comma-separated list of databases that must be excluded from discovery. Use a wildcard character ‘*’ to exclude all databases. Otherwise, use conditions like ‘*_test’ to exclude databases, the names of which end with _test, ‘Test*’ to exclude databases, the names of which start with Test, or a ‘*test*’ condition to exclude databases that have a test entry in any part of the database’s name.

 

Element properties:

TargetMicrosoft.SQLServer.AnalysisServices.Windows.TabularInstance
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.AnalysisServices.Windows.DataSource.ScheduledDatabaseDiscovery Microsoft.SQLServer.Core.RunAs.Discovery

Source Code:

<Discovery ID="Microsoft.SQLServer.AnalysisServices.Windows.Discovery.TabularDatabase" Target="Microsoft.SQLServer.AnalysisServices.Windows.TabularInstance" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.AnalysisServices.Windows.TabularDatabase"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.AnalysisServices.Windows.DataSource.ScheduledDatabaseDiscovery" RunAs="MSCL!Microsoft.SQLServer.Core.RunAs.Discovery">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<PrincipalName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</PrincipalName>
<InstanceName>$Target/Property[Type='ASCore!Microsoft.SQLServer.AnalysisServices.Core.Instance']/InstanceName$</InstanceName>
<ServiceName>$Target/Property[Type='ASCore!Microsoft.SQLServer.AnalysisServices.Core.Instance']/ServiceName$</ServiceName>
<ConnectionString>$Target/Property[Type='ASCore!Microsoft.SQLServer.AnalysisServices.Core.Instance']/ConnectionString$</ConnectionString>
<DataDir>$Target/Property[Type='ASCore!Microsoft.SQLServer.AnalysisServices.Core.Instance']/DataDir$</DataDir>
<ExcludeList/>
<ClassId>$MPElement[Name='Microsoft.SQLServer.AnalysisServices.Windows.TabularDatabase']$</ClassId>
<DatabaseType>Tabular</DatabaseType>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>