EventLogSession.GetLogNames 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 log names that are registered with the Event Log service.
public:
System::Collections::Generic::IEnumerable<System::String ^> ^ GetLogNames();
public System.Collections.Generic.IEnumerable<string> GetLogNames ();
[System.Security.SecurityCritical]
public System.Collections.Generic.IEnumerable<string> GetLogNames ();
member this.GetLogNames : unit -> seq<string>
[<System.Security.SecurityCritical>]
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.
- Attributes
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.