ServerEvent ServerEvent ServerEvent Class

Definition

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

public ref class ServerEvent sealed
public sealed class ServerEvent
Public NotInheritable Class ServerEvent
Inheritance
ServerEventServerEventServerEvent

Examples

Handling SMO Events

Remarks

The ServerEvent object contains a property for each event to which the instance of SQL Server can respond. The actual set of events is specified using the ServerEventSet 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 server event that can be included in the event set.

AddServerRoleMember AddServerRoleMember AddServerRoleMember

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

AddSignature AddSignature AddSignature

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

AddSignatureSchemaObject AddSignatureSchemaObject AddSignatureSchemaObject

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

AlterApplicationRole AlterApplicationRole AlterApplicationRole

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

AlterAssembly AlterAssembly AlterAssembly

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

AlterAsymmetricKey AlterAsymmetricKey AlterAsymmetricKey

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

AlterAudit AlterAudit AlterAudit
AlterAuthorizationDatabase AlterAuthorizationDatabase AlterAuthorizationDatabase

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

AlterAuthorizationServer AlterAuthorizationServer AlterAuthorizationServer

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

AlterAvailabilityGroup AlterAvailabilityGroup AlterAvailabilityGroup

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

AlterBrokerPriority AlterBrokerPriority AlterBrokerPriority

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

AlterCertificate AlterCertificate AlterCertificate

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

AlterColumnEncryptionKey AlterColumnEncryptionKey AlterColumnEncryptionKey

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

AlterCredential AlterCredential AlterCredential

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

AlterCryptographicProvider AlterCryptographicProvider AlterCryptographicProvider

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

AlterDatabase AlterDatabase AlterDatabase

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

AlterDatabaseAuditSpecification AlterDatabaseAuditSpecification AlterDatabaseAuditSpecification

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

AlterDatabaseEncryptionKey AlterDatabaseEncryptionKey AlterDatabaseEncryptionKey

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

AlterEndpoint AlterEndpoint AlterEndpoint

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

AlterEventSession AlterEventSession AlterEventSession

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

AlterExtendedProperty AlterExtendedProperty AlterExtendedProperty

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

AlterFulltextCatalog AlterFulltextCatalog AlterFulltextCatalog

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

AlterFulltextIndex AlterFulltextIndex AlterFulltextIndex

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

AlterFulltextStoplist AlterFulltextStoplist AlterFulltextStoplist

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

AlterFunction AlterFunction AlterFunction

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

AlterIndex AlterIndex AlterIndex

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

AlterInstance AlterInstance AlterInstance

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

AlterLinkedServer AlterLinkedServer AlterLinkedServer

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

AlterLogin AlterLogin AlterLogin

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

AlterMasterKey AlterMasterKey AlterMasterKey

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

AlterMessage AlterMessage AlterMessage

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

AlterMessageType AlterMessageType AlterMessageType

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

AlterPartitionFunction AlterPartitionFunction AlterPartitionFunction

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

AlterPartitionScheme AlterPartitionScheme AlterPartitionScheme

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

AlterPlanGuide AlterPlanGuide AlterPlanGuide

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

AlterProcedure AlterProcedure AlterProcedure

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

AlterQueue AlterQueue AlterQueue

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

AlterRemoteServer AlterRemoteServer AlterRemoteServer

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

AlterRemoteServiceBinding AlterRemoteServiceBinding AlterRemoteServiceBinding

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

AlterResourceGovernorConfig AlterResourceGovernorConfig AlterResourceGovernorConfig

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

AlterResourcePool AlterResourcePool AlterResourcePool

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

AlterRole AlterRole AlterRole

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

AlterRoute AlterRoute AlterRoute

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

AlterSchema AlterSchema AlterSchema

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

AlterSearchPropertyList AlterSearchPropertyList AlterSearchPropertyList

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

AlterSecurityPolicy AlterSecurityPolicy AlterSecurityPolicy

Gets the server event that can be included in the event set.

AlterSequence AlterSequence AlterSequence

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

AlterServerAudit AlterServerAudit AlterServerAudit

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

AlterServerAuditSpecification AlterServerAuditSpecification AlterServerAuditSpecification

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

AlterServerConfiguration AlterServerConfiguration AlterServerConfiguration

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

AlterServerRole AlterServerRole AlterServerRole

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

AlterService AlterService AlterService

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

AlterServiceMasterKey AlterServiceMasterKey AlterServiceMasterKey

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

AlterSymmetricKey AlterSymmetricKey AlterSymmetricKey

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

AlterTable AlterTable AlterTable

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

AlterTrigger AlterTrigger AlterTrigger

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

AlterUser AlterUser AlterUser

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

AlterView AlterView AlterView

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

AlterWorkloadGroup AlterWorkloadGroup AlterWorkloadGroup

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

AlterXmlSchemaCollection AlterXmlSchemaCollection AlterXmlSchemaCollection

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

BindDefault BindDefault BindDefault

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

BindRule BindRule BindRule

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

CreateApplicationRole CreateApplicationRole CreateApplicationRole

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

CreateAssembly CreateAssembly CreateAssembly

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

CreateAsymmetricKey CreateAsymmetricKey CreateAsymmetricKey

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

CreateAudit CreateAudit CreateAudit
CreateAvailabilityGroup CreateAvailabilityGroup CreateAvailabilityGroup

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

CreateBrokerPriority CreateBrokerPriority CreateBrokerPriority

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

CreateCertificate CreateCertificate CreateCertificate

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

CreateColumnEncryptionKey CreateColumnEncryptionKey CreateColumnEncryptionKey

Gets the event for creating a column encrytion key.

CreateColumnMasterKey CreateColumnMasterKey CreateColumnMasterKey

Gets the ServerEvent that creates column master key.

CreateContract CreateContract CreateContract

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

CreateCredential CreateCredential CreateCredential

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

CreateCryptographicProvider CreateCryptographicProvider CreateCryptographicProvider

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

CreateDatabase CreateDatabase CreateDatabase

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

CreateDatabaseAuditSpecification CreateDatabaseAuditSpecification CreateDatabaseAuditSpecification

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

CreateDatabaseEncryptionKey CreateDatabaseEncryptionKey CreateDatabaseEncryptionKey

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

CreateDefault CreateDefault CreateDefault

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

CreateEndpoint CreateEndpoint CreateEndpoint

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

CreateEventNotification CreateEventNotification CreateEventNotification

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

CreateEventSession CreateEventSession CreateEventSession

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

CreateExtendedProcedure CreateExtendedProcedure CreateExtendedProcedure

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

CreateExtendedProperty CreateExtendedProperty CreateExtendedProperty

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

CreateFulltextCatalog CreateFulltextCatalog CreateFulltextCatalog

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

CreateFulltextIndex CreateFulltextIndex CreateFulltextIndex

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

CreateFulltextStoplist CreateFulltextStoplist CreateFulltextStoplist

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

CreateFunction CreateFunction CreateFunction

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

CreateIndex CreateIndex CreateIndex

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

CreateLinkedServer CreateLinkedServer CreateLinkedServer

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

CreateLinkedServerLogin CreateLinkedServerLogin CreateLinkedServerLogin

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

CreateLogin CreateLogin CreateLogin

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

CreateMasterKey CreateMasterKey CreateMasterKey

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

CreateMessage CreateMessage CreateMessage

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

CreateMessageType CreateMessageType CreateMessageType

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

CreatePartitionFunction CreatePartitionFunction CreatePartitionFunction

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

CreatePartitionScheme CreatePartitionScheme CreatePartitionScheme

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

CreatePlanGuide CreatePlanGuide CreatePlanGuide

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

CreateProcedure CreateProcedure CreateProcedure

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

CreateQueue CreateQueue CreateQueue

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

CreateRemoteServer CreateRemoteServer CreateRemoteServer

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

CreateRemoteServiceBinding CreateRemoteServiceBinding CreateRemoteServiceBinding

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

CreateResourcePool CreateResourcePool CreateResourcePool

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

CreateRole CreateRole CreateRole

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

CreateRoute CreateRoute CreateRoute

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

CreateRule CreateRule CreateRule

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

CreateSchema CreateSchema CreateSchema

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

CreateSearchPropertyList CreateSearchPropertyList CreateSearchPropertyList

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

CreateSecurityPolicy CreateSecurityPolicy CreateSecurityPolicy

Gets the security policy from the server.

CreateSequence CreateSequence CreateSequence

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

CreateServerAudit CreateServerAudit CreateServerAudit

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

CreateServerAuditSpecification CreateServerAuditSpecification CreateServerAuditSpecification

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

CreateServerRole CreateServerRole CreateServerRole

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

CreateService CreateService CreateService

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

CreateSpatialIndex CreateSpatialIndex CreateSpatialIndex

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

CreateStatistics CreateStatistics CreateStatistics

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

CreateSymmetricKey CreateSymmetricKey CreateSymmetricKey

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

CreateSynonym CreateSynonym CreateSynonym

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

CreateTable CreateTable CreateTable

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

CreateTrigger CreateTrigger CreateTrigger

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

CreateType CreateType CreateType

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

CreateUser CreateUser CreateUser

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

CreateView CreateView CreateView

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

CreateWorkloadGroup CreateWorkloadGroup CreateWorkloadGroup

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

CreateXmlIndex CreateXmlIndex CreateXmlIndex

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

CreateXmlSchemaCollection CreateXmlSchemaCollection CreateXmlSchemaCollection

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

DenyDatabase DenyDatabase DenyDatabase

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

DenyServer DenyServer DenyServer

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

DropApplicationRole DropApplicationRole DropApplicationRole

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

DropAssembly DropAssembly DropAssembly

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

DropAsymmetricKey DropAsymmetricKey DropAsymmetricKey

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

DropAudit DropAudit DropAudit
DropAvailabilityGroup DropAvailabilityGroup DropAvailabilityGroup

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

DropBrokerPriority DropBrokerPriority DropBrokerPriority

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

DropCertificate DropCertificate DropCertificate

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

DropColumnEncryptionKey DropColumnEncryptionKey DropColumnEncryptionKey

Gets the encryption key for the drop column.

DropColumnMasterKey DropColumnMasterKey DropColumnMasterKey

Gets the server event that drops the column master key.

DropContract DropContract DropContract

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

DropCredential DropCredential DropCredential

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

DropCryptographicProvider DropCryptographicProvider DropCryptographicProvider

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

DropDatabase DropDatabase DropDatabase

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

DropDatabaseAuditSpecification DropDatabaseAuditSpecification DropDatabaseAuditSpecification

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

DropDatabaseEncryptionKey DropDatabaseEncryptionKey DropDatabaseEncryptionKey

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

DropDefault DropDefault DropDefault

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

DropEndpoint DropEndpoint DropEndpoint

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

DropEventNotification DropEventNotification DropEventNotification

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

DropEventSession DropEventSession DropEventSession

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

DropExtendedProcedure DropExtendedProcedure DropExtendedProcedure

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

DropExtendedProperty DropExtendedProperty DropExtendedProperty

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

DropFulltextCatalog DropFulltextCatalog DropFulltextCatalog

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

DropFulltextIndex DropFulltextIndex DropFulltextIndex

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

DropFulltextStoplist DropFulltextStoplist DropFulltextStoplist

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

DropFunction DropFunction DropFunction

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

DropIndex DropIndex DropIndex

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

DropLinkedServer DropLinkedServer DropLinkedServer

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

DropLinkedServerLogin DropLinkedServerLogin DropLinkedServerLogin

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

DropLogin DropLogin DropLogin

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

DropMasterKey DropMasterKey DropMasterKey

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

DropMessage DropMessage DropMessage

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

DropMessageType DropMessageType DropMessageType

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

DropPartitionFunction DropPartitionFunction DropPartitionFunction

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

DropPartitionScheme DropPartitionScheme DropPartitionScheme

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

DropPlanGuide DropPlanGuide DropPlanGuide

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

DropProcedure DropProcedure DropProcedure

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

DropQueue DropQueue DropQueue

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

DropRemoteServer DropRemoteServer DropRemoteServer

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

DropRemoteServiceBinding DropRemoteServiceBinding DropRemoteServiceBinding

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

DropResourcePool DropResourcePool DropResourcePool

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

DropRole DropRole DropRole

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

DropRoleMember DropRoleMember DropRoleMember

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

DropRoute DropRoute DropRoute

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

DropRule DropRule DropRule

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

DropSchema DropSchema DropSchema

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

DropSearchPropertyList DropSearchPropertyList DropSearchPropertyList

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

DropSecurityPolicy DropSecurityPolicy DropSecurityPolicy

Gets the server event of the drop security property.

DropSequence DropSequence DropSequence

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

DropServerAudit DropServerAudit DropServerAudit

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

DropServerAuditSpecification DropServerAuditSpecification DropServerAuditSpecification

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

DropServerRole DropServerRole DropServerRole

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

DropServerRoleMember DropServerRoleMember DropServerRoleMember

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

DropService DropService DropService

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

DropSignature DropSignature DropSignature

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

DropSignatureSchemaObject DropSignatureSchemaObject DropSignatureSchemaObject

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

DropStatistics DropStatistics DropStatistics

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

DropSymmetricKey DropSymmetricKey DropSymmetricKey

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

DropSynonym DropSynonym DropSynonym

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

DropTable DropTable DropTable

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

DropTrigger DropTrigger DropTrigger

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

DropType DropType DropType

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

DropUser DropUser DropUser

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

DropView DropView DropView

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

DropWorkloadGroup DropWorkloadGroup DropWorkloadGroup

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

DropXmlSchemaCollection DropXmlSchemaCollection DropXmlSchemaCollection

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

GrantDatabase GrantDatabase GrantDatabase

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

GrantServer GrantServer GrantServer

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

Rename Rename Rename

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

RevokeDatabase RevokeDatabase RevokeDatabase

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

RevokeServer RevokeServer RevokeServer

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

UnbindDefault UnbindDefault UnbindDefault

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

UnbindRule UnbindRule UnbindRule

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

UpdateStatistics UpdateStatistics UpdateStatistics

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

Methods

Add(ServerEvent, ServerEvent) Add(ServerEvent, ServerEvent) Add(ServerEvent, ServerEvent)

Returns a server event set after adding a new server event to the event set.

BitwiseOr(ServerEvent, ServerEvent) BitwiseOr(ServerEvent, ServerEvent) BitwiseOr(ServerEvent, ServerEvent)

Returns a ServerEventSet as a result of a bitwise OR operation on two ServerEvent objects.

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

Determines whether the referenced server 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.

Serves as a hash function, suitable for use in hashing algorithms and data structures like a hash table.

ToString() ToString() ToString()

Returns the referenced object in string format.

Operators

Addition(ServerEvent, ServerEvent) Addition(ServerEvent, ServerEvent) Addition(ServerEvent, ServerEvent)

Creates a server event set by performing an addition operation on two ServerEvent objects.

BitwiseOr(ServerEvent, ServerEvent) BitwiseOr(ServerEvent, ServerEvent) BitwiseOr(ServerEvent, ServerEvent)

Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.

Equality(ServerEvent, ServerEvent) Equality(ServerEvent, ServerEvent) Equality(ServerEvent, ServerEvent)

Creates a server event set by performing an equality operation on two ServerEvent objects.

Implicit(ServerEvent to ServerEventSet) Implicit(ServerEvent to ServerEventSet) Implicit(ServerEvent to ServerEventSet)

Creates a server event set by performing an implicit operation on a ServerEvent object.

Inequality(ServerEvent, ServerEvent) Inequality(ServerEvent, ServerEvent) Inequality(ServerEvent, ServerEvent)

Creates a server event set by performing an inequality operation on two ServerEvent objects.

Applies to