EventLogSession.GetLogInformation(String, PathType) Método

Definición

Obtiene un objeto que contiene información en tiempo de ejecución del registro de eventos especificado.

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

Parámetros

logName
String

Nombre del registro de eventos cuya información se va a obtener o ruta de acceso al archivo de registro de eventos cuya información se va a obtener.

pathType
PathType

Especifica si la cadena que se usa en el parámetro de ruta de acceso especifica el nombre de un registro de eventos o la ruta de acceso a un archivo de registro de eventos.

Devoluciones

Objeto que contiene información sobre el registro especificado.

Se aplica a

Consulte también