Compartilhar via


Classe DatabaseEventSet

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

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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

O tipo DatabaseEventSet expõe os membros a seguir.

Construtores

  Nome Descrição
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.

Início

Propriedades

  Nome Descrição
Propriedade 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.
Propriedade pública AddSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública AddSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade pública AlterAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade pública AlterBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade pública AlterDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública AlterExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública AlterFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública AlterFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública AlterMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública AlterPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública AlterSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública BindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública BindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade pública CreateAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública CreateBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública CreateDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública CreateDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade pública CreateExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública CreateFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública CreateFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública CreateMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública CreatePlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública CreateRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade pública CreateSpatialIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade pública CreateSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública DropAsymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública DropBrokerPriority Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública DropDatabaseEncryptionKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública DropDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade pública DropExtendedProperty Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública DropFulltextCatalog Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública DropFulltextIndex Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública DropMasterKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública DropPlanGuide Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública DropRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade pública DropSignature Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública DropSignatureSchemaObject Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade pública DropSymmetricKey Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública NumberOfElements Gets the number of events included in the event set. (Substitui EventSetBase. . :: . .NumberOfElements.)
Propriedade pública Rename Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.
Propriedade protegida Storage Gets or sets the bit array for event set storage. (Herdado de EventSetBase.)
Propriedade pública UnbindDefault Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade pública UnbindRule Gets or sets a Boolean property value that specifies whether the event is included in the event set.
Propriedade 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.

Início

Métodos

  Nome Descrição
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úblicoMembro 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. (Substitui EventSetBase. . :: . .Copy() () () ().)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método protegido FitsMask Specifies whether the EventSetBase object fits the specified mask. (Herdado de EventSetBase.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Herdado de EventSetBase.)
Método protegido MemberwiseClone (Herdado 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. (Herdado de EventSetBase.)
Método públicoMembro 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. (Substitui Object. . :: . .ToString() () () ().)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Addition Creates a database event set by performing an addition operation on a DatabaseEvent object and a DatabaseEventSet object.
Operador públicoMembro estático Subtraction Creates a database event set by performing a subtraction operation on a DatabaseEvent object and a DatabaseEventSet object.

Início

Comentários

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

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência