مشاركة عبر


ReplayEventArgs Class

The ReplayEventArgs object provides programmatic access to the arguments used to report events that occur when replaying trace on 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 ReplayEventArgs _
    Inherits TraceEventArgs
'Usage
Dim instance As ReplayEventArgs
public class ReplayEventArgs : TraceEventArgs
public ref class ReplayEventArgs : public TraceEventArgs
type ReplayEventArgs =  
    class 
        inherit TraceEventArgs 
    end
public class ReplayEventArgs extends TraceEventArgs

The ReplayEventArgs type exposes the following members.

Properties

  Name Description
Public property CurrentRecord Gets the current record in the trace. (Inherited from TraceEventArgs.)
Public property RecordNumber Gets the record number from the data that is generated by the event.
Public property SkipRecord Gets the Boolean value that specifies whether the current record is traced or skipped. (Inherited from TraceEventArgs.)

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