編輯

共用方式為


EventLogSession.GlobalSession Property

Definition

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; }
static member GlobalSession : System.Diagnostics.Eventing.Reader.EventLogSession
Public Shared ReadOnly Property GlobalSession As EventLogSession

Property Value

A predefined session object that is connected to the Event Log service on the local computer.

Applies to

See also