EventLogSession.GetLogInformation(String, PathType) 메서드

정의

지정된 이벤트 로그에 대한 런타임 정보가 들어 있는 개체를 가져옵니다.

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

매개 변수

logName
String

관련 정보를 가져올 이벤트 로그의 이름 또는 관련 정보를 가져올 이벤트 로그 파일에 대한 경로입니다.

pathType
PathType

경로 매개 변수에 사용되는 문자열이 이벤트 로그의 이름을 지정하는지 또는 이벤트 로그 파일의 경로를 지정하는지 여부를 지정합니다.

반환

지정된 로그에 대한 정보가 들어 있는 개체입니다.

적용 대상

추가 정보