EventLogSession.GetProviderNames EventLogSession.GetProviderNames EventLogSession.GetProviderNames EventLogSession.GetProviderNames Method

定義

取得可列舉的集合,包含已在事件記錄服務中註冊的所有事件提供者名稱。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();
[System.Security.SecurityCritical]
public System.Collections.Generic.IEnumerable<string> GetProviderNames ();
member this.GetProviderNames : unit -> seq<string>
Public Function GetProviderNames () As IEnumerable(Of String)

傳回

可列舉的字串集合,這些字串包含事件提供者名稱。An enumerable collection of strings that contain the event provider names.

適用於

另請參閱