Udostępnij za pośrednictwem


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.

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

Syntax

'Deklaracja
Public Class TraceEventArgs
    Inherits EventArgs
public class TraceEventArgs : EventArgs
public ref class TraceEventArgs : public EventArgs
public class TraceEventArgs extends EventArgs
public class TraceEventArgs extends EventArgs

Remarks

Inheritance Hierarchy

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

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.