MSSQL 2014: 探索資料檔案

Microsoft.SQLServer.2014.Discovery.DBFile (Discovery)

此探索規則會探索每個 SQL Server 2014 資料庫的檔案資訊。

Knowledge Base article:

摘要

此探索規則會探索每個 SQL Server 2014 資料庫的檔案資訊

組態

為個別執行個體或群組使用覆寫,以停用特定資料庫或資料庫引擎執行個體的探索。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

逾時 (秒)

指定允許工作流程在關閉且標示為失敗之前執行的時間。

300

Element properties:

TargetMicrosoft.SQLServer.2014.DBEngine
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.DBFilesDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2014.Discovery.DBFile" Enabled="true" Target="Microsoft.SQLServer.2014.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.DBFile">
<Property TypeID="Microsoft.SQLServer.2014.File" PropertyID="FileID"/>
<Property TypeID="Microsoft.SQLServer.2014.File" PropertyID="FileName"/>
<Property TypeID="Microsoft.SQLServer.2014.File" PropertyID="FilePath"/>
<Property TypeID="Microsoft.SQLServer.2014.File" PropertyID="Storage"/>
<Property TypeID="Microsoft.SQLServer.2014.File" PropertyID="StorageType"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.DBFilesDiscovery">
<NetworkName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</NetworkName>
<SQLConnectionString>$Target/Property[Type="Microsoft.SQLServer.2014.DBEngine"]/ConnectionString$</SQLConnectionString>
<SQLInstanceName>$Target/Property[Type="Microsoft.SQLServer.2014.ServerRole"]/InstanceName$</SQLInstanceName>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>