Udostępnij za pośrednictwem


SqlTraceException Class

The SQLTraceException class represents the general exception raised by the SMO trace objects.

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

Syntax

'Deklaracja
<SerializableAttribute> _
Public Class SqlTraceException
    Inherits SqlServerManagementException
[SerializableAttribute] 
public class SqlTraceException : SqlServerManagementException
[SerializableAttribute] 
public ref class SqlTraceException : public SqlServerManagementException
/** @attribute SerializableAttribute() */ 
public class SqlTraceException extends SqlServerManagementException
SerializableAttribute 
public class SqlTraceException extends SqlServerManagementException

Remarks

This class represents the main exception class in the SMO trace objects.

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.