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 | |
---|---|---|
CurrentRecord | Gets the current record in the trace. | |
SkipRecord | Gets the Boolean value that specifies whether the current record is traced or skipped. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.