Share via


ServerEventSet 類別

The ServerEventSet object represents a set of server events on an instance of SQL Server.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .EventSetBase
    Microsoft.SqlServer.Management.Smo..::..ServerEventSet

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

語法

'宣告
Public NotInheritable Class ServerEventSet _
    Inherits EventSetBase
'用途
Dim instance As ServerEventSet
public sealed class ServerEventSet : EventSetBase
public ref class ServerEventSet sealed : public EventSetBase
[<SealedAttribute>]
type ServerEventSet =  
    class
        inherit EventSetBase
    end
public final class ServerEventSet extends EventSetBase

ServerEventSet 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ServerEventSet() () () () Initializes a new instance of the ServerEventSet class.
公用方法 ServerEventSet(ServerEvent) Initializes a new instance of the ServerEventSet class with a specified event.
公用方法 ServerEventSet(array<ServerEvent> [] () [] []) Initializes a new instance of the ServerEventSet class with specified events.
公用方法 ServerEventSet(ServerEventSet) Initializes a new instance of the ServerEventSet class with specified events.

上層

屬性

  名稱 說明
公用屬性 AddRoleMember Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a member is added to a database role in the database
公用屬性 AddServerRoleMember Gets a server event that can be included in the event set.
公用屬性 AddSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AddSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterApplicationRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an application role is altered.
公用屬性 AlterAssembly Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is altered.
公用屬性 AlterAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterAuthorizationDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an authorization database is altered.
公用屬性 AlterAuthorizationServer Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an authorization server is altered.
公用屬性 AlterBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterCertificate Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a certificate is altered.
公用屬性 AlterCredential Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterCryptographicProvider Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database is altered.
公用屬性 AlterDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterEndpoint Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an endpoint is altered.
公用屬性 AlterEventSession Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a function is altered.
公用屬性 AlterIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an index is altered.
公用屬性 AlterInstance Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterLinkedServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a login is altered.
公用屬性 AlterMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterMessage Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterMessageType Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a message type is altered.
公用屬性 AlterPartitionFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a partition function is altered.
公用屬性 AlterPartitionScheme Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a partition scheme is altered.
公用屬性 AlterPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a procedure is altered.
公用屬性 AlterQueue Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the queue is altered.
公用屬性 AlterRemoteServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterRemoteServiceBinding Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the remote service binding is altered.
公用屬性 AlterResourceGovernorConfig Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterResourcePool Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a role is altered.
公用屬性 AlterRoute Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a route is altered.
公用屬性 AlterSchema Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a schema is altered.
公用屬性 AlterServerAudit Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterServerAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterServerConfiguration Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterService Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a service is altered.
公用屬性 AlterServiceMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterTable Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a table is altered.
公用屬性 AlterTrigger Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a trigger is altered.
公用屬性 AlterUser Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user is altered.
公用屬性 AlterView Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a view is altered.
公用屬性 AlterWorkloadGroup Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 AlterXmlSchemaCollection Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an XML schema collection is altered.
公用屬性 BindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 BindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateApplicationRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an application role is created.
公用屬性 CreateAssembly Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is created.
公用屬性 CreateAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateCertificate Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a certificate is created.
公用屬性 CreateContract Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a contract is created.
公用屬性 CreateCredential Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateCryptographicProvider Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database is created.
公用屬性 CreateDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateEndpoint Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an endpoint is created.
公用屬性 CreateEventNotification Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an event notification is created.
公用屬性 CreateEventSession Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateExtendedProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a function is created.
公用屬性 CreateIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an index is created.
公用屬性 CreateLinkedServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateLinkedServerLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a login is created.
公用屬性 CreateMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateMessage Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateMessageType Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a message type is created.
公用屬性 CreatePartitionFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a partition function is created.
公用屬性 CreatePartitionScheme Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a partition scheme is created.
公用屬性 CreatePlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a procedure is created.
公用屬性 CreateQueue Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a queue is created.
公用屬性 CreateRemoteServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateRemoteServiceBinding Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a remote service binding is created.
公用屬性 CreateResourcePool Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a role is created.
公用屬性 CreateRoute Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker route is created.
公用屬性 CreateRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateSchema Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a schema is created.
公用屬性 CreateServerAudit Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateServerAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateService Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker service is created.
公用屬性 CreateSpatialIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateStatistics Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a statistics counter is created.
公用屬性 CreateSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateSynonym Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a synonym is created.
公用屬性 CreateTable Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a table is created.
公用屬性 CreateTrigger Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a trigger is created.
公用屬性 CreateType Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a type is created.
公用屬性 CreateUser Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user is created.
公用屬性 CreateView Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a view is created.
公用屬性 CreateWorkloadGroup Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 CreateXmlIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an XML index is created.
公用屬性 CreateXmlSchemaCollection Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an XML schema collection is created.
公用屬性 DenyDatabase Gets or sets a Boolean property value that specifies whether database deny events are included in the event set.
公用屬性 DenyServer Gets or sets a Boolean property value that specifies whether server deny events are included in the event set.
公用屬性 DropApplicationRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an application role is dropped.
公用屬性 DropAssembly Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an assembly is dropped.
公用屬性 DropAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropCertificate Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a certificate is dropped.
公用屬性 DropContract Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker contract is dropped.
公用屬性 DropCredential Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropCryptographicProvider Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database is dropped.
公用屬性 DropDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropEndpoint Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an endpoint is dropped.
公用屬性 DropEventNotification Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an event notification is dropped.
公用屬性 DropEventSession Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropExtendedProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a function is dropped.
公用屬性 DropIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an index is dropped.
公用屬性 DropLinkedServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropLinkedServerLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a login is dropped.
公用屬性 DropMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropMessage Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropMessageType Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a message type is dropped.
公用屬性 DropPartitionFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a partition function is dropped.
公用屬性 DropPartitionScheme Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a partition schema is dropped.
公用屬性 DropPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a stored procedure is dropped.
公用屬性 DropQueue Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker queue is dropped.
公用屬性 DropRemoteServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropRemoteServiceBinding Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a remote service binding is dropped.
公用屬性 DropResourcePool Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a role is dropped.
公用屬性 DropRoleMember Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropRoute Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker route is dropped.
公用屬性 DropRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropSchema Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a schema is dropped.
公用屬性 DropServerAudit Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropServerAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropServerRoleMember Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropService Gets or sets a Boolean property value that specifies whether drop service events are included in the event set.
公用屬性 DropSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropStatistics Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a statistics counter is dropped.
公用屬性 DropSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropSynonym Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a synonym is dropped.
公用屬性 DropTable Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a table is dropped.
公用屬性 DropTrigger Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a trigger is dropped.
公用屬性 DropType Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a type is dropped.
公用屬性 DropUser Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user is dropped.
公用屬性 DropView Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a view is dropped.
公用屬性 DropWorkloadGroup Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 DropXmlSchemaCollection Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an XML schema collection is dropped.
公用屬性 GrantDatabase Gets or sets a Boolean property value that specifies whether database grant events are included in the event set.
公用屬性 GrantServer Gets or sets a Boolean property value that specifies whether server grant events are included in the event set.
公用屬性 NumberOfElements Gets the number of events in the event set. (覆寫 EventSetBase. . :: . .NumberOfElements。)
公用屬性 Rename Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 RevokeDatabase Gets or sets a Boolean property value that specifies whether database revoke events are included in the event set.
公用屬性 RevokeServer Gets or sets a Boolean property value that specifies whether server revoke events are included in the event set.
受保護的屬性 Storage Gets or sets the bit array for event set storage. (繼承自 EventSetBase。)
公用屬性 UnbindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 UnbindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
公用屬性 UpdateStatistics Gets or sets a Boolean property value that specifies whether update statistics events are included in the event set.

上層

方法

  名稱 說明
公用方法 Add(ServerEvent) Returns a server event set after adding a new server event to the referenced event set.
公用方法靜態成員 Add(ServerEventSet, ServerEvent) Returns a server event set after adding a new server event to the specified event set.
公用方法 Copy Returns a copy of the event set. (覆寫 EventSetBase. . :: . .Copy() () () ()。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
受保護的方法 FitsMask Specifies whether the EventSetBase object fits the specified mask. (繼承自 EventSetBase。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (繼承自 EventSetBase。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Remove Removes an event from the event set.
受保護的方法 SetValue Sets the bit value at the specified index position. (繼承自 EventSetBase。)
公用方法靜態成員 Subtract Returns a server event set after subtracting a server event from the specified event set.
公用方法 ToString Returns a string that represents the ServerEventSet object. (覆寫 Object. . :: . .ToString() () () ()。)

上層

運算子

  名稱 說明
公用運算子靜態成員 Addition Creates a server event set by performing an addition operation on a ServerEvent object and a ServerEventSet object.
公用運算子靜態成員 Subtraction Creates a server event set by performing a subtraction operation on a ServerEvent object and a ServerEventSet object.

上層

執行緒安全性

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