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
公共属性 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
公共属性 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
公共属性 AlterServerAuditSpecification
公共属性 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
公共属性 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
公共属性 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
公共属性 CreateServerAuditSpecification
公共属性 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
公共属性 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
公共属性 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
公共属性 DropServerAuditSpecification
公共属性 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。