EventLogSession.GlobalSession EventLogSession.GlobalSession EventLogSession.GlobalSession EventLogSession.GlobalSession Property

定義

取得連接本機電腦上事件記錄服務的靜態預先定義工作階段物件。Gets a static predefined session object that is connected to the Event Log service on the local computer.

public:
 static property System::Diagnostics::Eventing::Reader::EventLogSession ^ GlobalSession { System::Diagnostics::Eventing::Reader::EventLogSession ^ get(); };
public static System.Diagnostics.Eventing.Reader.EventLogSession GlobalSession { get; }
member this.GlobalSession : System.Diagnostics.Eventing.Reader.EventLogSession
Public Shared ReadOnly Property GlobalSession As EventLogSession

屬性值

預先定義的工作階段物件連接到本機電腦上的事件記錄服務。A predefined session object that is connected to the Event Log service on the local computer.

適用於

另請參閱