EventLogSession.GetLogInformation(String, PathType) Methode

Definitie

Hiermee haalt u een object op dat runtime-informatie bevat voor het opgegeven gebeurtenislogboek.

public:
 System::Diagnostics::Eventing::Reader::EventLogInformation ^ GetLogInformation(System::String ^ logName, System::Diagnostics::Eventing::Reader::PathType pathType);
public System.Diagnostics.Eventing.Reader.EventLogInformation GetLogInformation(string logName, System.Diagnostics.Eventing.Reader.PathType pathType);
member this.GetLogInformation : string * System.Diagnostics.Eventing.Reader.PathType -> System.Diagnostics.Eventing.Reader.EventLogInformation
Public Function GetLogInformation (logName As String, pathType As PathType) As EventLogInformation

Parameters

logName
String

De naam van het gebeurtenislogboek voor informatie over of het pad naar het gebeurtenislogboekbestand om informatie over te krijgen.

pathType
PathType

Hiermee geeft u op of de tekenreeks die wordt gebruikt in de padparameter de naam van een gebeurtenislogboek of het pad naar een gebeurtenislogboekbestand opgeeft.

Retouren

Een object met informatie over het opgegeven logboek.

Van toepassing op

Zie ook