DatabaseEvent DatabaseEvent DatabaseEvent Class

Definition

The DatabaseEvent object represents the SQL Server database events that can be included in a database event set.

public ref class DatabaseEvent sealed
public sealed class DatabaseEvent
Public NotInheritable Class DatabaseEvent
Inheritance
DatabaseEventDatabaseEventDatabaseEvent

Examples

Handling SMO Events

Remarks

The DatabaseEvent object contains a property for each event to which the database can respond. The actual set of events is specified by using the DatabaseEventSet object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Properties

AddRoleMember AddRoleMember AddRoleMember

Gets a database event that can be included in the event set.

AddSignature AddSignature AddSignature

Gets a database event that can be included in the event set.

AddSignatureSchemaObject AddSignatureSchemaObject AddSignatureSchemaObject

Gets a database event that can be included in the event set.

AlterApplicationRole AlterApplicationRole AlterApplicationRole

Gets a database event that can be included in the event set.

AlterAssembly AlterAssembly AlterAssembly

Gets a database event that can be included in the event set.

AlterAsymmetricKey AlterAsymmetricKey AlterAsymmetricKey

Gets a database event that can be included in the event set.

AlterAudit AlterAudit AlterAudit
AlterAuthorizationDatabase AlterAuthorizationDatabase AlterAuthorizationDatabase

Gets a database event that can be included in the event set.

AlterBrokerPriority AlterBrokerPriority AlterBrokerPriority

Gets a database event that can be included in the event set.

AlterCertificate AlterCertificate AlterCertificate

Gets a database event that can be included in the event set.

AlterColumnEncryptionKey AlterColumnEncryptionKey AlterColumnEncryptionKey

Gets the Alter Column Encryption Key from the Database.

AlterDatabaseAuditSpecification AlterDatabaseAuditSpecification AlterDatabaseAuditSpecification

Gets a database event that can be included in the event set.

AlterDatabaseEncryptionKey AlterDatabaseEncryptionKey AlterDatabaseEncryptionKey

Gets a database event that can be included in the event set.

AlterExtendedProperty AlterExtendedProperty AlterExtendedProperty

Gets a database event that can be included in the event set.

AlterFulltextCatalog AlterFulltextCatalog AlterFulltextCatalog

Gets a database event that can be included in the event set.

AlterFulltextIndex AlterFulltextIndex AlterFulltextIndex

Gets a database event that can be included in the event set.

AlterFulltextStoplist AlterFulltextStoplist AlterFulltextStoplist

Gets a database event that can be included in the event set.

AlterFunction AlterFunction AlterFunction

Gets a database event that can be included in the event set.

AlterIndex AlterIndex AlterIndex

Gets a database event that can be included in the event set.

AlterMasterKey AlterMasterKey AlterMasterKey

Gets a database event that can be included in the event set.

AlterMessageType AlterMessageType AlterMessageType

Gets a database event that can be included in the event set.

AlterPartitionFunction AlterPartitionFunction AlterPartitionFunction

Gets a database event that can be included in the event set.

AlterPartitionScheme AlterPartitionScheme AlterPartitionScheme

Gets a database event that can be included in the event set.

AlterPlanGuide AlterPlanGuide AlterPlanGuide

Gets a database event that can be included in the event set.

AlterProcedure AlterProcedure AlterProcedure

Gets a database event that can be included in the event set.

AlterQueue AlterQueue AlterQueue

Gets a database event that can be included in the event set.

AlterRemoteServiceBinding AlterRemoteServiceBinding AlterRemoteServiceBinding

Gets a database event that can be included in the event set.

AlterRole AlterRole AlterRole

Gets a database event that can be included in the event set.

AlterRoute AlterRoute AlterRoute

Gets a database event that can be included in the event set.

AlterSchema AlterSchema AlterSchema

Gets a database event that can be included in the event set.

AlterSearchPropertyList AlterSearchPropertyList AlterSearchPropertyList

Gets a database event that can be included in the event set.

AlterSecurityPolicy AlterSecurityPolicy AlterSecurityPolicy

Gets the security policy to alter.

AlterSequence AlterSequence AlterSequence

Gets a database event that can be included in the event set.

AlterService AlterService AlterService

Gets a database event that can be included in the event set.

AlterSymmetricKey AlterSymmetricKey AlterSymmetricKey

Gets a database event that can be included in the event set.

AlterTable AlterTable AlterTable

Gets a database event that can be included in the event set.

AlterTrigger AlterTrigger AlterTrigger

Gets a database event that can be included in the event set.

AlterUser AlterUser AlterUser

Gets a database event that can be included in the event set.

AlterView AlterView AlterView

Gets a database event that can be included in the event set.

AlterXmlSchemaCollection AlterXmlSchemaCollection AlterXmlSchemaCollection

Gets a database event that can be included in the event set.

BindDefault BindDefault BindDefault

Gets a database event that can be included in the event set.

BindRule BindRule BindRule

Gets a database event that can be included in the event set.

CreateApplicationRole CreateApplicationRole CreateApplicationRole

Gets a database event that can be included in the event set.

CreateAssembly CreateAssembly CreateAssembly

Gets a database event that can be included in the event set.

CreateAsymmetricKey CreateAsymmetricKey CreateAsymmetricKey

Gets a database event that can be included in the event set.

CreateAudit CreateAudit CreateAudit

Gets a database event that can be included in the event set.

CreateBrokerPriority CreateBrokerPriority CreateBrokerPriority

Gets a database event that can be included in the event set.

CreateCertificate CreateCertificate CreateCertificate

Gets a database event that can be included in the event set.

CreateColumnEncryptionKey CreateColumnEncryptionKey CreateColumnEncryptionKey

Gets the DatabaseEvent that creates column encryption key.

CreateColumnMasterKey CreateColumnMasterKey CreateColumnMasterKey

Gets the DatabaseEvent that creates column master key.

CreateContract CreateContract CreateContract

Gets a database event that can be included in the event set.

CreateDatabaseAuditSpecification CreateDatabaseAuditSpecification CreateDatabaseAuditSpecification

Gets a database event that can be included in the event set.

CreateDatabaseEncryptionKey CreateDatabaseEncryptionKey CreateDatabaseEncryptionKey

Gets a database event that can be included in the event set.

CreateDefault CreateDefault CreateDefault

Gets a database event that can be included in the event set.

CreateEventNotification CreateEventNotification CreateEventNotification

Gets a database event that can be included in the event set.

CreateExtendedProperty CreateExtendedProperty CreateExtendedProperty

Gets a database event that can be included in the event set.

CreateFulltextCatalog CreateFulltextCatalog CreateFulltextCatalog

Gets a database event that can be included in the event set.

CreateFulltextIndex CreateFulltextIndex CreateFulltextIndex

Gets a database event that can be included in the event set.

CreateFulltextStoplist CreateFulltextStoplist CreateFulltextStoplist

Gets a database event that can be included in the event set.

CreateFunction CreateFunction CreateFunction

Gets a database event that can be included in the event set.

CreateIndex CreateIndex CreateIndex

Gets a database event that can be included in the event set.

CreateMasterKey CreateMasterKey CreateMasterKey

Gets a database event that can be included in the event set.

CreateMessageType CreateMessageType CreateMessageType

Gets a database event that can be included in the event set.

CreatePartitionFunction CreatePartitionFunction CreatePartitionFunction

Gets a database event that can be included in the event set.

CreatePartitionScheme CreatePartitionScheme CreatePartitionScheme

Gets a database event that can be included in the event set.

CreatePlanGuide CreatePlanGuide CreatePlanGuide

Gets a database event that can be included in the event set.

CreateProcedure CreateProcedure CreateProcedure

Gets a database event that can be included in the event set.

CreateQueue CreateQueue CreateQueue

Gets a database event that can be included in the event set.

CreateRemoteServiceBinding CreateRemoteServiceBinding CreateRemoteServiceBinding

Gets a database event that can be included in the event set.

CreateRole CreateRole CreateRole

Gets a database event that can be included in the event set.

CreateRoute CreateRoute CreateRoute

Gets a database event that can be included in the event set.

CreateRule CreateRule CreateRule

Gets a database event that can be included in the event set.

CreateSchema CreateSchema CreateSchema

Gets a database event that can be included in the event set.

CreateSearchPropertyList CreateSearchPropertyList CreateSearchPropertyList

Gets a database event that can be included in the event set.

CreateSecurityPolicy CreateSecurityPolicy CreateSecurityPolicy

Gets the database event object to create a security policy.

CreateSequence CreateSequence CreateSequence

Gets a database event that can be included in the event set.

CreateService CreateService CreateService

Gets a database event that can be included in the event set.

CreateSpatialIndex CreateSpatialIndex CreateSpatialIndex

Gets a database event that can be included in the event set.

CreateStatistics CreateStatistics CreateStatistics

Gets a database event that can be included in the event set.

CreateSymmetricKey CreateSymmetricKey CreateSymmetricKey

Gets a database event that can be included in the event set.

CreateSynonym CreateSynonym CreateSynonym

Gets a database event that can be included in the event set.

CreateTable CreateTable CreateTable

Gets a database event that can be included in the event set.

CreateTrigger CreateTrigger CreateTrigger

Gets a database event that can be included in the event set.

CreateType CreateType CreateType

Gets a database event that can be included in the event set.

CreateUser CreateUser CreateUser

Gets a database event that can be included in the event set.

CreateView CreateView CreateView

Gets a database event that can be included in the event set.

CreateXmlIndex CreateXmlIndex CreateXmlIndex

Gets a database event that can be included in the event set.

CreateXmlSchemaCollection CreateXmlSchemaCollection CreateXmlSchemaCollection

Gets a database event that can be included in the event set.

DenyDatabase DenyDatabase DenyDatabase

Gets a database event that can be included in the event set.

DropApplicationRole DropApplicationRole DropApplicationRole

Gets a database event that can be included in the event set.

DropAssembly DropAssembly DropAssembly

Gets a database event that can be included in the event set.

DropAsymmetricKey DropAsymmetricKey DropAsymmetricKey

Gets a database event that can be included in the event set.

DropAudit DropAudit DropAudit
DropBrokerPriority DropBrokerPriority DropBrokerPriority

Gets a database event that can be included in the event set.

DropCertificate DropCertificate DropCertificate

Gets a database event that can be included in the event set.

DropColumnEncryptionKey DropColumnEncryptionKey DropColumnEncryptionKey

Gets a DatabaseEvent that drops column encryption key.

DropColumnMasterKey DropColumnMasterKey DropColumnMasterKey

Gets a database event that can be included in the event set.

DropContract DropContract DropContract

Gets a database event that can be included in the event set.

DropDatabase DropDatabase DropDatabase

Gets a database event that can be included in the event set.

DropDatabaseAuditSpecification DropDatabaseAuditSpecification DropDatabaseAuditSpecification

Gets a database event that can be included in the event set.

DropDatabaseEncryptionKey DropDatabaseEncryptionKey DropDatabaseEncryptionKey

Gets a database event that can be included in the event set.

DropDefault DropDefault DropDefault

Gets a database event that can be included in the event set.

DropEventNotification DropEventNotification DropEventNotification

Gets a database event that can be included in the event set.

DropExtendedProperty DropExtendedProperty DropExtendedProperty

Gets a database event that can be included in the event set.

DropFulltextCatalog DropFulltextCatalog DropFulltextCatalog

Gets a database event that can be included in the event set.

DropFulltextIndex DropFulltextIndex DropFulltextIndex

Gets a database event that can be included in the event set.

DropFulltextStoplist DropFulltextStoplist DropFulltextStoplist

Gets a database event that can be included in the event set.

DropFunction DropFunction DropFunction

Gets a database event that can be included in the event set.

DropIndex DropIndex DropIndex

Gets a database event that can be included in the event set.

DropMasterKey DropMasterKey DropMasterKey

Gets a database event that can be included in the event set.

DropMessageType DropMessageType DropMessageType

Gets a database event that can be included in the event set.

DropPartitionFunction DropPartitionFunction DropPartitionFunction

Gets a database event that can be included in the event set.

DropPartitionScheme DropPartitionScheme DropPartitionScheme

Gets a database event that can be included in the event set.

DropPlanGuide DropPlanGuide DropPlanGuide

Gets a database event that can be included in the event set.

DropProcedure DropProcedure DropProcedure

Gets a database event that can be included in the event set.

DropQueue DropQueue DropQueue

Gets a database event that can be included in the event set.

DropRemoteServiceBinding DropRemoteServiceBinding DropRemoteServiceBinding

Gets a database event that can be included in the event set.

DropRole DropRole DropRole

Gets a database event that can be included in the event set.

DropRoleMember DropRoleMember DropRoleMember

Gets a database event that can be included in the event set.

DropRoute DropRoute DropRoute

Gets a database event that can be included in the event set.

DropRule DropRule DropRule

Gets a database event that can be included in the event set.

DropSchema DropSchema DropSchema

Gets a database event that can be included in the event set.

DropSearchPropertyList DropSearchPropertyList DropSearchPropertyList

Gets a database event that can be included in the event set.

DropSecurityPolicy DropSecurityPolicy DropSecurityPolicy

Gets a DatabaseEvent that drops security policy.

DropSequence DropSequence DropSequence

Gets a database event that can be included in the event set.

DropService DropService DropService

Gets a database event that can be included in the event set.

DropSignature DropSignature DropSignature

Gets a database event that can be included in the event set.

DropSignatureSchemaObject DropSignatureSchemaObject DropSignatureSchemaObject

Gets a database event that can be included in the event set.

DropStatistics DropStatistics DropStatistics

Gets a database event that can be included in the event set.

DropSymmetricKey DropSymmetricKey DropSymmetricKey

Gets a database event that can be included in the event set.

DropSynonym DropSynonym DropSynonym

Gets a database event that can be included in the event set.

DropTable DropTable DropTable

Gets a database event that can be included in the event set.

DropTrigger DropTrigger DropTrigger

Gets a database event that can be included in the event set.

DropType DropType DropType

Gets a database event that can be included in the event set.

DropUser DropUser DropUser

Gets a database event that can be included in the event set.

DropView DropView DropView

Gets a database event that can be included in the event set.

DropXmlSchemaCollection DropXmlSchemaCollection DropXmlSchemaCollection

Gets a database event that can be included in the event set.

GrantDatabase GrantDatabase GrantDatabase

Gets a database event that can be included in the event set.

Rename Rename Rename

Gets a database event that can be included in the event set.

RevokeDatabase RevokeDatabase RevokeDatabase

Gets a database event that can be included in the event set.

UnbindDefault UnbindDefault UnbindDefault

Gets a database event that can be included in the event set.

UnbindRule UnbindRule UnbindRule

Gets a database event that can be included in the event set.

UpdateStatistics UpdateStatistics UpdateStatistics

Gets a database event that can be included in the event set.

Methods

Add(DatabaseEvent, DatabaseEvent) Add(DatabaseEvent, DatabaseEvent) Add(DatabaseEvent, DatabaseEvent)

Returns the database event set that was created by adding two database events together.

BitwiseOr(DatabaseEvent, DatabaseEvent) BitwiseOr(DatabaseEvent, DatabaseEvent) BitwiseOr(DatabaseEvent, DatabaseEvent)

Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.

Equals(Object) Equals(Object) Equals(Object)

Determines whether the referenced database event object is equal to a specified object.

GetHashCode() GetHashCode() GetHashCode()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

ToString() ToString() ToString()

Returns the referenced object in string format.

Operators

Addition(DatabaseEvent, DatabaseEvent) Addition(DatabaseEvent, DatabaseEvent) Addition(DatabaseEvent, DatabaseEvent)

Creates a database event set by performing an addition operation on two DatabaseEvent objects.

BitwiseOr(DatabaseEvent, DatabaseEvent) BitwiseOr(DatabaseEvent, DatabaseEvent) BitwiseOr(DatabaseEvent, DatabaseEvent)

Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.

Equality(DatabaseEvent, DatabaseEvent) Equality(DatabaseEvent, DatabaseEvent) Equality(DatabaseEvent, DatabaseEvent)

Creates a database event set by performing an equality operation on two DatabaseEvent objects.

Implicit(DatabaseEvent to DatabaseEventSet) Implicit(DatabaseEvent to DatabaseEventSet) Implicit(DatabaseEvent to DatabaseEventSet)

Creates a database event set by performing an implicit operation on a DatabaseEvent object.

Inequality(DatabaseEvent, DatabaseEvent) Inequality(DatabaseEvent, DatabaseEvent) Inequality(DatabaseEvent, DatabaseEvent)

Creates a database event set by performing an inequality operation on two DatabaseEvent objects.

Applies to