Поделиться через


Класс ServerTraceEvent

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public NotInheritable Class ServerTraceEvent
'Применение
Dim instance As ServerTraceEvent
public sealed class ServerTraceEvent
public ref class ServerTraceEvent sealed
[<SealedAttribute>]
type ServerTraceEvent =  class end
public final class ServerTraceEvent

Тип ServerTraceEvent обеспечивает доступ к следующим элементам.

Свойства

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

В начало

Методы

  Имя Описание
Открытый методСтатический элемент Add Returns a server trace event set by adding two server trace events.
Открытый методСтатический элемент BitwiseOr Returns a new server trace event that includes both of the named Server Trace Events.
Открытый метод Equals Determines whether the referenced server trace event object is equal to a specified object. (Переопределяет Object.Equals(Object).)
Открытый метод GetHashCode Указано только в ознакомительных целях. Не поддерживается. Совместимость с будущими версиями не гарантируется. (Переопределяет Object.GetHashCode().)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString Returns the referenced object in string format. (Переопределяет Object.ToString().)

В начало

Операторы

  Имя Описание
Открытый операторСтатический элемент Addition Creates a server trace event set by performing an addition operation on two server trace event objects.
Открытый операторСтатический элемент BitwiseOr Creates a server trace event set by performing a bitwise OR operation on two ServerTraceEvent objects.
Открытый операторСтатический элемент Equality Creates a server trace event set by comparing two ServerTraceEvent objects.
Открытый операторСтатический элемент Implicit(ServerTraceEvent to ServerTraceEventSet) Converts a single server trace event to a server trace event set.
Открытый операторСтатический элемент Inequality Creates a server event set by comparing on two ServerTraceEvent objects.

В начало

Замечания

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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Примеры

Обработка событий SMO

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Обработка событий SMO