EventLogSession.GetProviderNames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Returns
An enumerable collection of strings that contain the event provider names.
- Attributes