Classe SqlTraceException
The SQLTraceException class represents the general exception raised by the SMO trace objects.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (dans Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class SqlTraceException _
Inherits SqlServerManagementException
'Utilisation
Dim instance As SqlTraceException
[SerializableAttribute]
public class SqlTraceException : SqlServerManagementException
[SerializableAttribute]
public ref class SqlTraceException : public SqlServerManagementException
[<SerializableAttribute>]
type SqlTraceException =
class
inherit SqlServerManagementException
end
public class SqlTraceException extends SqlServerManagementException
Notes
This class represents the main exception class in the SMO trace objects.
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Trace..::..SqlTraceException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceFailToInstantiateTypeException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceFailToLoadInstAPIAssemblyException
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Voir aussi