EventLogQuery.Session Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.