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

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。

示例

处理 SMO 事件

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

处理 SMO 事件