Classe ServerTraceEvent

The ServerTraceEvent object represents the SQL Server server trace events that can be included in a server trace event set.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..ServerTraceEvent

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ServerTraceEvent
'Utilisation
Dim instance As ServerTraceEvent
public sealed class ServerTraceEvent
public ref class ServerTraceEvent sealed
[<SealedAttribute>]
type ServerTraceEvent =  class end
public final class ServerTraceEvent

Le type ServerTraceEvent expose les membres suivants.

Propriétés

  Nom Description
Propriété publiqueMembre statique AssemblyLoad Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditAddDBUserEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditAddloginEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditAddLoginToServerRoleEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditAddMemberToDBRoleEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditAddRoleEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditAppRoleChangePasswordEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditBackupRestoreEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditChangeAuditEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditChangeDatabaseOwner Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseManagementEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseObjectAccessEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseObjectGdrEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseObjectManagementEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseObjectTakeOwnershipEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseOperationEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabasePrincipalImpersonationEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabasePrincipalManagementEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDatabaseScopeGdrEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditDbccEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditFulltext Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditLogin Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditLoginChangePasswordEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditLoginChangePropertyEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditLoginFailed Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditLoginGdrEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditLogout Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditSchemaObjectAccessEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditSchemaObjectGdrEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditSchemaObjectManagementEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditSchemaObjectTakeOwnershipEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerAlterTraceEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerObjectGdrEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerObjectManagementEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerObjectTakeOwnershipEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerOperationEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerPrincipalImpersonationEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerPrincipalManagementEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique AuditServerScopeGdrEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique BitmapWarning Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique BlockedProcessReport Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique CpuThresholdExceeded Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DatabaseMirroringStateChange Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DatabaseSuspectDataPage Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DataFileAutoGrow Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DataFileAutoShrink Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DeadlockGraph Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DeprecationAnnouncement Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique DeprecationFinalSupport Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Errorlog Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Eventlog Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Exception Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ExchangeSpillEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ExecutionWarnings Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique FtCrawlAborted Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique FtCrawlStarted Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique FtCrawlStopped Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique HashWarning Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique LockDeadlock Gets a server event that can be included in the event set.
Propriété publiqueMembre statique LockDeadlockChain Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique LockEscalation Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique LogFileAutoGrow Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique LogFileAutoShrink Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique MissingColumnStatistics Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique MissingJoinPredicate Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique MountTape Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ObjectAltered Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ObjectCreated Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ObjectDeleted Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique OledbCallEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique OledbDatareadEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique OledbErrors Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique OledbProviderInformation Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique OledbQueryinterfaceEvent Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Qn_dynamics Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Qn_parameterTable Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Qn_subscription Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Qn_template Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ServerMemoryChange Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ShowplanAllForQueryCompile Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ShowplanXml Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ShowplanXmlForQueryCompile Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique ShowplanXmlStatisticsProfile Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique SortWarnings Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique SpCacheinsert Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique SpCachemiss Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique SpCacheremove Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique SpRecompile Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique SqlStmtrecompile Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique TraceAllEvents Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceClr Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceDatabase Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceDeprecation Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceErrorsAndWarnings Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceFileClose Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceFullText Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceLocks Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceObjects Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique TraceOledb Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TracePerformance Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceQueryNotifications Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceSecurityAudit Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceServer Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceStoredProcedures Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique TraceTsql Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique TraceUserConfigurable Gets a server trace event category that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable0 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable1 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable2 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable3 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable4 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable5 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable6 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable7 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable8 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique Userconfigurable9 Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique UserErrorMessage Gets a server trace event that can be included in the event set.
Propriété publiqueMembre statique XqueryStaticType Gets a server trace event that can be included in the event set.

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique Add Returns a server trace event set by adding two server trace events.
Méthode publiqueMembre statique BitwiseOr Returns a new server trace event that includes both of the named Server Trace Events.
Méthode publique Equals Determines whether the referenced server trace event object is equal to a specified object. (remplace Object. . :: . .Equals(Object).)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Identifié à titre d'information uniquement. Non pris en charge. La compatibilité future n'est pas garantie. (remplace Object. . :: . .GetHashCode() () () ().)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns the referenced object in string format. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Addition Creates a server trace event set by performing an addition operation on two server trace event objects.
Opérateur publicMembre statique BitwiseOr Creates a server trace event set by performing a bitwise OR operation on two ServerTraceEvent objects.
Opérateur publicMembre statique Equality Creates a server trace event set by comparing two ServerTraceEvent objects.
Opérateur publicMembre statique Implicit Widening Implicit Implicit Implicit(ServerTraceEvent to ServerTraceEventSet) Converts a single server trace event to a server trace event set.
Opérateur publicMembre statique Inequality Creates a server event set by comparing on two ServerTraceEvent objects.

Haut de la page

Notes

The ServerTraceEvent object contains a property for each trace event to which the instance of SQL Server can respond. The actual set of trace events is specified using the ServerTraceEventSet object.

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

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 étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.