EventLogSession.GetProviderNames 方法
定义
获取向事件日志服务注册的所有事件提供程序名称的可枚举集合。Gets an enumerable collection of all the event provider names that are registered with the Event Log service. 事件提供程序是将事件发布到事件日志的应用程序。An event provider is an application that publishes events to an event log.
public:
System::Collections::Generic::IEnumerable<System::String ^> ^ GetProviderNames();
public System.Collections.Generic.IEnumerable<string> GetProviderNames ();
[System.Security.SecurityCritical]
public System.Collections.Generic.IEnumerable<string> GetProviderNames ();
member this.GetProviderNames : unit -> seq<string>
[<System.Security.SecurityCritical>]
member this.GetProviderNames : unit -> seq<string>
Public Function GetProviderNames () As IEnumerable(Of String)
返回
包含事件提供程序名称的字符串的可枚举集合。An enumerable collection of strings that contain the event provider names.
- 属性