Share via


EventLogSession.GetLogInformation(String, PathType) Méthode

Définition

Obtient un objet qui contient des informations d'exécution pour le journal des événements spécifié.

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

Paramètres

logName
String

Nom du journal des événements à propos duquel obtenir des informations ou chemin d'accès au fichier journal d'événements à propos duquel obtenir des informations.

pathType
PathType

Spécifie si la chaîne utilisée dans le paramètre du chemin d’accès indique le nom d’un journal des événements ou le chemin d’accès à un fichier journal des événements.

Retours

Un objet qui contient des informations à propos du journal spécifié.

S’applique à

Voir aussi