Aracılığıyla paylaş


EventLogSession.GetLogInformation(String, PathType) Yöntem

Tanım

Belirtilen olay günlüğü için çalışma zamanı bilgilerini içeren bir nesnesi alır.

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

Parametreler

logName
String

Hakkında bilgi almak için olay günlüğünün adı veya hakkında bilgi almak için olay günlüğü dosyasının yolu.

pathType
PathType

path parametresinde kullanılan dizenin bir olay günlüğünün adını mı yoksa olay günlüğü dosyasının yolunu mu belirttiğini belirtir.

Döndürülenler

Belirtilen günlük hakkında bilgi içeren bir nesne.

Şunlara uygulanır

Ayrıca bkz.