EventLogSession.GetLogNames EventLogSession.GetLogNames EventLogSession.GetLogNames EventLogSession.GetLogNames Method

Definition

Gets an enumerable collection of all the event log names that are registered with the Event Log service.

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ GetLogNames();
[System.Security.SecurityCritical]
public System.Collections.Generic.IEnumerable<string> GetLogNames ();
member this.GetLogNames : unit -> seq<string>
Public Function GetLogNames () As IEnumerable(Of String)

Returns

An enumerable collection of strings that contain the event log names.

Applies to

See also