ServerTraceEvent-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public NotInheritable Class ServerTraceEvent
'Usage
Dim instance As ServerTraceEvent
public sealed class ServerTraceEvent
public ref class ServerTraceEvent sealed
[<SealedAttribute>]
type ServerTraceEvent =  class end
public final class ServerTraceEvent

Der ServerTraceEvent-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche MethodeStatisches Element Add Returns a server trace event set by adding two server trace events.
Öffentliche MethodeStatisches Element BitwiseOr Returns a new server trace event that includes both of the named Server Trace Events.
Öffentliche Methode Equals Determines whether the referenced server trace event object is equal to a specified object. (Überschreibt Object. . :: . .Equals(Object).)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Überschreibt Object. . :: . .GetHashCode() () () ().)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Returns the referenced object in string format. (Überschreibt Object. . :: . .ToString() () () ().)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Addition Creates a server trace event set by performing an addition operation on two server trace event objects.
Öffentlicher OperatorStatisches Element BitwiseOr Creates a server trace event set by performing a bitwise OR operation on two ServerTraceEvent objects.
Öffentlicher OperatorStatisches Element Equality Creates a server trace event set by comparing two ServerTraceEvent objects.
Öffentlicher OperatorStatisches Element Implicit Widening Implicit Implicit Implicit(ServerTraceEvent to ServerTraceEventSet) Converts a single server trace event to a server trace event set.
Öffentlicher OperatorStatisches Element Inequality Creates a server event set by comparing on two ServerTraceEvent objects.

Zum Anfang

Hinweise

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.

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.