共用方式為


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)。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode 僅供參考之用。不支援。我們無法保證未來的相容性。 (覆寫 Object. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 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 Widening Implicit Implicit 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 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。