你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WindowsEventLogDataSource 构造函数

定义

重载

WindowsEventLogDataSource()

初始化 WindowsEventLogDataSource 类的新实例。

WindowsEventLogDataSource(IList<String>, IList<String>, String)

初始化 WindowsEventLogDataSource 类的新实例。

WindowsEventLogDataSource()

初始化 WindowsEventLogDataSource 类的新实例。

public WindowsEventLogDataSource ();
Public Sub New ()

适用于

WindowsEventLogDataSource(IList<String>, IList<String>, String)

初始化 WindowsEventLogDataSource 类的新实例。

public WindowsEventLogDataSource (System.Collections.Generic.IList<string> streams = default, System.Collections.Generic.IList<string> xPathQueries = default, string name = default);
new Microsoft.Azure.Management.Monitor.Models.WindowsEventLogDataSource : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Monitor.Models.WindowsEventLogDataSource
Public Sub New (Optional streams As IList(Of String) = Nothing, Optional xPathQueries As IList(Of String) = Nothing, Optional name As String = Nothing)

参数

streams
IList<String>

此数据源将发送到的流列表。 流指示将用于此数据的架构,以及通常会将数据发送到 Log Analytics 中的表。

xPathQueries
IList<String>

XPATH 格式的 Windows 事件日志查询列表。

name
String

数据源的友好名称。 无论数据收集规则中的类型) ,此名称在 (的所有数据源中都应是唯一的。

适用于