共用方式為


ServerEvent 類別

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

繼承階層

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public NotInheritable Class ServerEvent
'用途
Dim instance As ServerEvent
public sealed class ServerEvent
public ref class ServerEvent sealed
[<SealedAttribute>]
type ServerEvent =  class end
public final class ServerEvent

ServerEvent 型別公開下列成員。

屬性

  名稱 說明
公用屬性靜態成員 AddRoleMember Gets a server event that can be included in the event set.
公用屬性靜態成員 AddServerRoleMember Gets a server event that can be included in the event set.
公用屬性靜態成員 AddSignature Gets a server event that can be included in the event set.
公用屬性靜態成員 AddSignatureSchemaObject Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterApplicationRole Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterAssembly Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterAsymmetricKey Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterAuthorizationDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterAuthorizationServer Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterBrokerPriority Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterCertificate Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterCredential Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterCryptographicProvider Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterDatabaseAuditSpecification Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterDatabaseEncryptionKey Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterEndpoint Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterEventSession Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterExtendedProperty Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterFulltextCatalog Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterFulltextIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterFulltextStoplist Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterFunction Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterInstance Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterLinkedServer Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterLogin Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterMasterKey Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterMessage Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterMessageType Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterPartitionFunction Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterPartitionScheme Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterPlanGuide Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterProcedure Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterQueue Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterRemoteServer Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterRemoteServiceBinding Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterResourceGovernorConfig Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterResourcePool Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterRole Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterRoute Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterSchema Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterServerAudit Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterServerAuditSpecification Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterServerConfiguration Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterService Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterServiceMasterKey Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterSymmetricKey Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterTable Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterTrigger Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterUser Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterView Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterWorkloadGroup Gets a server event that can be included in the event set.
公用屬性靜態成員 AlterXmlSchemaCollection Gets a server event that can be included in the event set.
公用屬性靜態成員 BindDefault Gets a server event that can be included in the event set.
公用屬性靜態成員 BindRule Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateApplicationRole Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateAssembly Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateAsymmetricKey Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateBrokerPriority Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateCertificate Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateContract Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateCredential Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateCryptographicProvider Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateDatabaseAuditSpecification Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateDatabaseEncryptionKey Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateDefault Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateEndpoint Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateEventNotification Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateEventSession Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateExtendedProcedure Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateExtendedProperty Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateFulltextCatalog Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateFulltextIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateFulltextStoplist Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateFunction Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateLinkedServer Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateLinkedServerLogin Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateLogin Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateMasterKey Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateMessage Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateMessageType Gets a server event that can be included in the event set.
公用屬性靜態成員 CreatePartitionFunction Gets a server event that can be included in the event set.
公用屬性靜態成員 CreatePartitionScheme Gets a server event that can be included in the event set.
公用屬性靜態成員 CreatePlanGuide Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateProcedure Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateQueue Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateRemoteServer Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateRemoteServiceBinding Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateResourcePool Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateRole Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateRoute Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateRule Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateSchema Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateServerAudit Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateServerAuditSpecification Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateService Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateSpatialIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateStatistics Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateSymmetricKey Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateSynonym Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateTable Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateTrigger Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateType Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateUser Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateView Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateWorkloadGroup Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateXmlIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 CreateXmlSchemaCollection Gets a server event that can be included in the event set.
公用屬性靜態成員 DenyDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 DenyServer Gets a server event that can be included in the event set.
公用屬性靜態成員 DropApplicationRole Gets a server event that can be included in the event set.
公用屬性靜態成員 DropAssembly Gets a server event that can be included in the event set.
公用屬性靜態成員 DropAsymmetricKey Gets a server event that can be included in the event set.
公用屬性靜態成員 DropBrokerPriority Gets a server event that can be included in the event set.
公用屬性靜態成員 DropCertificate Gets a server event that can be included in the event set.
公用屬性靜態成員 DropContract Gets a server event that can be included in the event set.
公用屬性靜態成員 DropCredential Gets a server event that can be included in the event set.
公用屬性靜態成員 DropCryptographicProvider Gets a server event that can be included in the event set.
公用屬性靜態成員 DropDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 DropDatabaseAuditSpecification Gets a server event that can be included in the event set.
公用屬性靜態成員 DropDatabaseEncryptionKey Gets a server event that can be included in the event set.
公用屬性靜態成員 DropDefault Gets a server event that can be included in the event set.
公用屬性靜態成員 DropEndpoint Gets a server event that can be included in the event set.
公用屬性靜態成員 DropEventNotification Gets a server event that can be included in the event set.
公用屬性靜態成員 DropEventSession Gets a server event that can be included in the event set.
公用屬性靜態成員 DropExtendedProcedure Gets a server event that can be included in the event set.
公用屬性靜態成員 DropExtendedProperty Gets a server event that can be included in the event set.
公用屬性靜態成員 DropFulltextCatalog Gets a server event that can be included in the event set.
公用屬性靜態成員 DropFulltextIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 DropFulltextStoplist Gets a server event that can be included in the event set.
公用屬性靜態成員 DropFunction Gets a server event that can be included in the event set.
公用屬性靜態成員 DropIndex Gets a server event that can be included in the event set.
公用屬性靜態成員 DropLinkedServer Gets a server event that can be included in the event set.
公用屬性靜態成員 DropLinkedServerLogin Gets a server event that can be included in the event set.
公用屬性靜態成員 DropLogin Gets a server event that can be included in the event set.
公用屬性靜態成員 DropMasterKey Gets a server event that can be included in the event set.
公用屬性靜態成員 DropMessage Gets a server event that can be included in the event set.
公用屬性靜態成員 DropMessageType Gets a server event that can be included in the event set.
公用屬性靜態成員 DropPartitionFunction Gets a server event that can be included in the event set.
公用屬性靜態成員 DropPartitionScheme Gets a server event that can be included in the event set.
公用屬性靜態成員 DropPlanGuide Gets a server event that can be included in the event set.
公用屬性靜態成員 DropProcedure Gets a server event that can be included in the event set.
公用屬性靜態成員 DropQueue Gets a server event that can be included in the event set.
公用屬性靜態成員 DropRemoteServer Gets a server event that can be included in the event set.
公用屬性靜態成員 DropRemoteServiceBinding Gets a server event that can be included in the event set.
公用屬性靜態成員 DropResourcePool Gets a server event that can be included in the event set.
公用屬性靜態成員 DropRole Gets a server event that can be included in the event set.
公用屬性靜態成員 DropRoleMember Gets a server event that can be included in the event set.
公用屬性靜態成員 DropRoute Gets a server event that can be included in the event set.
公用屬性靜態成員 DropRule Gets a server event that can be included in the event set.
公用屬性靜態成員 DropSchema Gets a server event that can be included in the event set.
公用屬性靜態成員 DropServerAudit Gets a server event that can be included in the event set.
公用屬性靜態成員 DropServerAuditSpecification Gets a server event that can be included in the event set.
公用屬性靜態成員 DropServerRoleMember Gets a server event that can be included in the event set.
公用屬性靜態成員 DropService Gets a server event that can be included in the event set.
公用屬性靜態成員 DropSignature Gets a server event that can be included in the event set.
公用屬性靜態成員 DropSignatureSchemaObject Gets a server event that can be included in the event set.
公用屬性靜態成員 DropStatistics Gets a server event that can be included in the event set.
公用屬性靜態成員 DropSymmetricKey Gets a server event that can be included in the event set.
公用屬性靜態成員 DropSynonym Gets a server event that can be included in the event set.
公用屬性靜態成員 DropTable Gets a server event that can be included in the event set.
公用屬性靜態成員 DropTrigger Gets a server event that can be included in the event set.
公用屬性靜態成員 DropType Gets a server event that can be included in the event set.
公用屬性靜態成員 DropUser Gets a server event that can be included in the event set.
公用屬性靜態成員 DropView Gets a server event that can be included in the event set.
公用屬性靜態成員 DropWorkloadGroup Gets a server event that can be included in the event set.
公用屬性靜態成員 DropXmlSchemaCollection Gets a server event that can be included in the event set.
公用屬性靜態成員 GrantDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 GrantServer Gets a server event that can be included in the event set.
公用屬性靜態成員 Rename Gets a server event that can be included in the event set.
公用屬性靜態成員 RevokeDatabase Gets a server event that can be included in the event set.
公用屬性靜態成員 RevokeServer Gets a server event that can be included in the event set.
公用屬性靜態成員 UnbindDefault Gets a server event that can be included in the event set.
公用屬性靜態成員 UnbindRule Gets a server event that can be included in the event set.
公用屬性靜態成員 UpdateStatistics Gets a server event that can be included in the event set.

上層

方法

  名稱 說明
公用方法靜態成員 Add Returns a server event set after adding a new server event to the event set.
公用方法靜態成員 BitwiseOr Returns a ServerEventSet as a result of a bitwise OR operation on two ServerEvent objects.
公用方法 Equals Determines whether the referenced server event object is equal to a specified object. (覆寫 Object. . :: . .Equals(Object)。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。Serves as a hash function, suitable for use in hashing algorithms and data structures like a hash table. (覆寫 Object. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString Returns the referenced object in string format. (覆寫 Object. . :: . .ToString() () () ()。)

上層

運算子

  名稱 說明
公用運算子靜態成員 Addition Creates a server event set by performing an addition operation on two ServerEvent objects.
公用運算子靜態成員 BitwiseOr Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.
公用運算子靜態成員 Equality Creates a server event set by performing an equality operation on two ServerEvent objects.
公用運算子靜態成員 Implicit Widening Implicit Implicit Implicit(ServerEvent to ServerEventSet) Creates a server event set by performing an implicit operation on a ServerEvent object.
公用運算子靜態成員 Inequality Creates a server event set by performing an inequality operation on two ServerEvent objects.

上層

備註

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

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

執行緒安全性

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