EventLogSession.GetLogInformation(String, PathType) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 이벤트 로그에 대한 런타임 정보가 들어 있는 개체를 가져옵니다.
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
경로 매개 변수에 사용되는 문자열이 이벤트 로그의 이름을 지정하는지 또는 이벤트 로그 파일의 경로를 지정하는지 여부를 지정합니다.
반환
지정된 로그에 대한 정보가 들어 있는 개체입니다.