Partager via


Classe ServerEventSet

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ServerEventSet _
    Inherits EventSetBase
'Utilisation
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

Le type ServerEventSet expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ServerEventSet() () () () Initializes a new instance of the ServerEventSet class.
Méthode publique ServerEventSet(ServerEvent) Initializes a new instance of the ServerEventSet class with a specified event.
Méthode publique ServerEventSet(array<ServerEvent> [] () [] []) Initializes a new instance of the ServerEventSet class with specified events.
Méthode publique ServerEventSet(ServerEventSet) Initializes a new instance of the ServerEventSet class with specified events.

Haut de la page

Propriétés

  Nom Description
Propriété publique 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
Propriété publique AddServerRoleMember Gets a server event that can be included in the event set.
Propriété publique AddSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AddSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique AlterCredential Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterCryptographicProvider Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique AlterDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique AlterEventSession Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterInstance Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterLinkedServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique AlterMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterMessage Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterRemoteServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique AlterResourceGovernorConfig Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterResourcePool Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterServerAudit Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterServerAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterServerConfiguration Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique AlterServiceMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique AlterSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique AlterWorkloadGroup Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique BindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique BindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateCredential Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateCryptographicProvider Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique CreateDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateEventSession Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateExtendedProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateLinkedServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateLinkedServerLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique CreateMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateMessage Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreatePlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateRemoteServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique CreateResourcePool Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique CreateServerAudit Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique CreateServerAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique CreateSpatialIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique CreateSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique CreateWorkloadGroup Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique DenyDatabase Gets or sets a Boolean property value that specifies whether database deny events are included in the event set.
Propriété publique DenyServer Gets or sets a Boolean property value that specifies whether server deny events are included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropCredential Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropCryptographicProvider Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropEventSession Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropExtendedProcedure Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropLinkedServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropLinkedServerLogin Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropMessage Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropRemoteServer Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropResourcePool Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropRoleMember Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropServerAudit Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropServerAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropServerRoleMember Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropService Gets or sets a Boolean property value that specifies whether drop service events are included in the event set.
Propriété publique DropSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique DropSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique DropSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique 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.
Propriété publique DropWorkloadGroup Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique 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.
Propriété publique GrantDatabase Gets or sets a Boolean property value that specifies whether database grant events are included in the event set.
Propriété publique GrantServer Gets or sets a Boolean property value that specifies whether server grant events are included in the event set.
Propriété publique NumberOfElements Gets the number of events in the event set. (remplace EventSetBase. . :: . .NumberOfElements.)
Propriété publique Rename Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique RevokeDatabase Gets or sets a Boolean property value that specifies whether database revoke events are included in the event set.
Propriété publique RevokeServer Gets or sets a Boolean property value that specifies whether server revoke events are included in the event set.
Propriété protégée Storage Gets or sets the bit array for event set storage. (hérité de EventSetBase.)
Propriété publique UnbindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique UnbindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriété publique UpdateStatistics Gets or sets a Boolean property value that specifies whether update statistics events are included in the event set.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add(ServerEvent) Returns a server event set after adding a new server event to the referenced event set.
Méthode publiqueMembre statique Add(ServerEventSet, ServerEvent) Returns a server event set after adding a new server event to the specified event set.
Méthode publique Copy Returns a copy of the event set. (remplace EventSetBase. . :: . .Copy() () () ().)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode protégée FitsMask Specifies whether the EventSetBase object fits the specified mask. (hérité de EventSetBase.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (hérité de EventSetBase.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Remove Removes an event from the event set.
Méthode protégée SetValue Sets the bit value at the specified index position. (hérité de EventSetBase.)
Méthode publiqueMembre statique Subtract Returns a server event set after subtracting a server event from the specified event set.
Méthode publique ToString Returns a string that represents the ServerEventSet object. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Addition Creates a server event set by performing an addition operation on a ServerEvent object and a ServerEventSet object.
Opérateur publicMembre statique Subtraction Creates a server event set by performing a subtraction operation on a ServerEvent object and a ServerEventSet object.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.