Επεξεργασία

Κοινή χρήση μέσω


EventLogQuery.Session Property

Definition

Gets or sets the session that access the Event Log service on the local computer or a remote computer. This object can be set to access a remote event log by creating a EventLogReader object or an EventLogWatcher object with this EventLogQuery object.

public:
 property System::Diagnostics::Eventing::Reader::EventLogSession ^ Session { System::Diagnostics::Eventing::Reader::EventLogSession ^ get(); void set(System::Diagnostics::Eventing::Reader::EventLogSession ^ value); };
public System.Diagnostics.Eventing.Reader.EventLogSession Session { get; set; }
member this.Session : System.Diagnostics.Eventing.Reader.EventLogSession with get, set
Public Property Session As EventLogSession

Property Value

Returns an EventLogSession object.

Applies to

See also