TraceEventArgs Class

The TraceEventArgs object provides programmatic access to the arguments used to report events that occur when collecting trace from an instance of SQL Server.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Trace.TraceEventArgs
      Microsoft.SqlServer.Management.Trace.ReplayEventArgs

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Class TraceEventArgs _
    Inherits EventArgs
'Usage
Dim instance As TraceEventArgs
public class TraceEventArgs : EventArgs
public ref class TraceEventArgs : public EventArgs
type TraceEventArgs =  
    class 
        inherit EventArgs 
    end
public class TraceEventArgs extends EventArgs

The TraceEventArgs type exposes the following members.

Properties

  Name Description
Public property CurrentRecord Gets the current record in the trace.
Public property SkipRecord Gets the Boolean value that specifies whether the current record is traced or skipped.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Trace Namespace