EventLogSession.GetLogInformation(String, PathType) Metodo

Definizione

Ottiene un oggetto che contiene informazioni runtime per il log eventi specificato.

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

Parametri

logName
String

Nome del log eventi o percorso al file di log eventi per ottenere informazioni correlate.

pathType
PathType

Specifica se la stringa usata per il parametro path specifica il nome di un registro eventi o il percorso di un file di registro eventi.

Restituisce

Oggetto che contiene informazioni sul log specificato.

Si applica a

Vedi anche