SQL Server 2008 事件日志收集目标发现

Microsoft.SQLServer.2008.Discovery.EventLogCollectionTarget (Discovery)

此发现规则发现 Microsoft SQL Server 2008 的事件日志收集目标。此对象用于从具有 SQL Server 2008 组件的计算机的事件日志中收集模块错误。

Knowledge Base article:

摘要

此发现规则发现 Microsoft SQL Server 2008 的事件日志收集目标。此对象用于从具有 SQL Server 2008 组件的计算机的事件日志中收集模块错误。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

频率(秒)

运行工作流的重复间隔时间(秒)。

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

Element properties:

TargetMicrosoft.SQLServer.2008.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.DataSource.EventLogCollectionTarget Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2008.Discovery.EventLogCollectionTarget" Enabled="true" Target="Microsoft.SQLServer.2008.Seed" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SQL!Microsoft.SQLServer.Library.EventLogCollectionTarget"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.DataSource.EventLogCollectionTarget">
<PrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</PrincipalName>
<Frequency>14400</Frequency>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>