MSSQL 2014: 发现事务日志文件

Microsoft.SQLServer.2014.Discovery.DBLogFile (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.DBLogFile" Enabled="true" Target="Microsoft.SQLServer.2014.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.DBLogFile">
<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>