Export (0) Print
Expand All

EventLogQuery.Session Property

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.

Namespace:  System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public EventLogSession Session { get; set; }

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2014 Microsoft