Share via


Clase DatabaseEventSet

The DatabaseEventSet object represents a SQL Server set of database events.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class DatabaseEventSet _
    Inherits EventSetBase
'Uso
Dim instance As DatabaseEventSet
public sealed class DatabaseEventSet : EventSetBase
public ref class DatabaseEventSet sealed : public EventSetBase
[<SealedAttribute>]
type DatabaseEventSet =  
    class
        inherit EventSetBase
    end
public final class DatabaseEventSet extends EventSetBase

El tipo DatabaseEventSet expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DatabaseEventSet() () () () Initializes a new instance of the DatabaseEventSet class.
Método público DatabaseEventSet(DatabaseEvent) Initializes a new instance of the DatabaseEventSet class with a specified set of events.
Método público DatabaseEventSet(array<DatabaseEvent> [] () [] []) Initializes a new instance of the DatabaseEventSet class with a specified set of events.
Método público DatabaseEventSet(DatabaseEventSet) Initializes a new instance of the DatabaseEventSet class with a specified set of events.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública 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.
Propiedad pública AddSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AddSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública AlterAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AlterAuthorizationDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the authorization database is altered.
Propiedad pública AlterBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública AlterDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database audit specification is altered.
Propiedad pública AlterDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AlterExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AlterFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AlterFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AlterFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a full-text Search, stop list is altered in the database.
Propiedad pública AlterFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user-defined function is altered in the database.
Propiedad pública 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 in the database.
Propiedad pública AlterMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública AlterPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública AlterProcedure 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 altered in the database.
Propiedad pública AlterQueue 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 altered in the database.
Propiedad pública AlterRemoteServiceBinding 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 altered in the database.
Propiedad pública AlterRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database role is altered in the database.
Propiedad pública AlterRoute 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 altered in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 Broker service is altered in the database.
Propiedad pública AlterSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública AlterUser Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database user is altered in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública BindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública BindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública CreateAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública CreateBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública CreateContract 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 created in the database.
Propiedad pública CreateDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database audit specification is created in the database.
Propiedad pública CreateDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública CreateDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública CreateExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública CreateFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública CreateFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública CreateFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a full-text Search, stop list is created in the database.
Propiedad pública CreateFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user-defined function is created in the database.
Propiedad pública 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 in the database.
Propiedad pública CreateMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública CreatePlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública CreateProcedure 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 created in the database.
Propiedad pública CreateQueue 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 created in the database.
Propiedad pública 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 in the database.
Propiedad pública CreateRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database role is created in the database.
Propiedad pública 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 in the database.
Propiedad pública CreateRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública CreateSpatialIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública CreateSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública CreateUser Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database user is created in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública 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 in the database.
Propiedad pública DenyDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when access the database is denied.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública DropAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública DropBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública DropDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the database is dropped.
Propiedad pública DropDatabaseAuditSpecification Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database audit specification is dropped.
Propiedad pública DropDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública DropDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública DropExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública DropFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública DropFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública DropFulltextStoplist Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a full-text Search, stop list is dropped from the database.
Propiedad pública DropFunction Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a user-defined function is dropped from the database.
Propiedad pública 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 from the database.
Propiedad pública DropMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública 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 scheme is dropped from the database.
Propiedad pública DropPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública DropRole Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database role is dropped from the database.
Propiedad pública DropRoleMember 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 dropped from a database role in the database.
Propiedad pública 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 from the database.
Propiedad pública DropRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública DropService 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 dropped from the database.
Propiedad pública DropSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública DropSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública DropSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública DropUser Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a database user is dropped from the database.
Propiedad pública 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 from the database.
Propiedad pública 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 from the database.
Propiedad pública GrantDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when access is granted to the database.
Propiedad pública NumberOfElements Gets the number of events included in the event set. (Invalida EventSetBase. . :: . .NumberOfElements.)
Propiedad pública Rename Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública RevokeDatabase Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when access to the database is revoked.
Propiedad protegida Storage Gets or sets the bit array for event set storage. (Se hereda de EventSetBase.)
Propiedad pública UnbindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública UnbindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propiedad pública UpdateStatistics Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the statistics are updated in the database.

Arriba

Métodos

  Nombre Descripción
Método público Add(DatabaseEvent) Returns a set of database events after adding a new database event to the referenced event set.
Método públicoMiembro estático Add(DatabaseEventSet, DatabaseEvent) Returns a set of database events after adding a new database event to the specified event set.
Método público Copy Returns a copy of the DatabaseEventSet object. (Invalida EventSetBase. . :: . .Copy() () () ().)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método protegido FitsMask Specifies whether the EventSetBase object fits the specified mask. (Se hereda de EventSetBase.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Se hereda de EventSetBase.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Remove Removes an event from the event set.
Método protegido SetValue Sets the bit value at the specified index position. (Se hereda de EventSetBase.)
Método públicoMiembro estático Subtract Returns a set of database events after removing a database event from the specified event set.
Método público ToString Returns a string that represents the DatabaseEventSet object. (Invalida Object. . :: . .ToString() () () ().)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Addition Creates a database event set by performing an addition operation on a DatabaseEvent object and a DatabaseEventSet object.
Operador públicoMiembro estático Subtraction Creates a database event set by performing a subtraction operation on a DatabaseEvent object and a DatabaseEventSet object.

Arriba

Comentarios

The DatabaseEventSet object is required to specify the set of events that apply to the events that are generated by the database.

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.