ReplayEventArgs 类
The ReplayEventArgs object provides programmatic access to the arguments used to report events that occur when replaying trace on an instance of SQL Server.
继承层次结构
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Management.Trace. . :: . .TraceEventArgs
Microsoft.SqlServer.Management.Trace..::..ReplayEventArgs
命名空间: Microsoft.SqlServer.Management.Trace
程序集: Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
语法
声明
Public Class ReplayEventArgs _
Inherits TraceEventArgs
用法
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
ReplayEventArgs 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
CurrentRecord | Gets the current record in the trace. (从 TraceEventArgs 继承。) | |
RecordNumber | Gets the record number from the data that is generated by the event. | |
SkipRecord | Gets the Boolean value that specifies whether the current record is traced or skipped. (从 TraceEventArgs 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。