Export (0) Print
Expand All

ServerEvent Class

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

System.Object
  Microsoft.SqlServer.Management.Smo.ServerEvent

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

public sealed class ServerEvent

The ServerEvent type exposes the following members.

  NameDescription
Public propertyStatic memberAddRoleMemberGets a server event that can be included in the event set.
Public propertyStatic memberAddServerRoleMemberGets a server event that can be included in the event set.
Public propertyStatic memberAddSignatureGets a server event that can be included in the event set.
Public propertyStatic memberAddSignatureSchemaObjectGets a server event that can be included in the event set.
Public propertyStatic memberAlterApplicationRoleGets a server event that can be included in the event set.
Public propertyStatic memberAlterAssemblyGets a server event that can be included in the event set.
Public propertyStatic memberAlterAsymmetricKeyGets a server event that can be included in the event set.
Public propertyStatic memberAlterAuthorizationDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberAlterAuthorizationServerGets a server event that can be included in the event set.
Public propertyStatic memberAlterAvailabilityGroupGets a server event that can be included in the event set.
Public propertyStatic memberAlterBrokerPriorityGets a server event that can be included in the event set.
Public propertyStatic memberAlterCertificateGets a server event that can be included in the event set.
Public propertyStatic memberAlterCredentialGets a server event that can be included in the event set.
Public propertyStatic memberAlterCryptographicProviderGets a server event that can be included in the event set.
Public propertyStatic memberAlterDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberAlterDatabaseAuditSpecificationGets a server event that can be included in the event set.
Public propertyStatic memberAlterDatabaseEncryptionKeyGets a server event that can be included in the event set.
Public propertyStatic memberAlterEndpointGets a server event that can be included in the event set.
Public propertyStatic memberAlterEventSessionGets a server event that can be included in the event set.
Public propertyStatic memberAlterExtendedPropertyGets a server event that can be included in the event set.
Public propertyStatic memberAlterFulltextCatalogGets a server event that can be included in the event set.
Public propertyStatic memberAlterFulltextIndexGets a server event that can be included in the event set.
Public propertyStatic memberAlterFulltextStoplistGets a server event that can be included in the event set.
Public propertyStatic memberAlterFunctionGets a server event that can be included in the event set.
Public propertyStatic memberAlterIndexGets a server event that can be included in the event set.
Public propertyStatic memberAlterInstanceGets a server event that can be included in the event set.
Public propertyStatic memberAlterLinkedServerGets a server event that can be included in the event set.
Public propertyStatic memberAlterLoginGets a server event that can be included in the event set.
Public propertyStatic memberAlterMasterKeyGets a server event that can be included in the event set.
Public propertyStatic memberAlterMessageGets a server event that can be included in the event set.
Public propertyStatic memberAlterMessageTypeGets a server event that can be included in the event set.
Public propertyStatic memberAlterPartitionFunctionGets a server event that can be included in the event set.
Public propertyStatic memberAlterPartitionSchemeGets a server event that can be included in the event set.
Public propertyStatic memberAlterPlanGuideGets a server event that can be included in the event set.
Public propertyStatic memberAlterProcedureGets a server event that can be included in the event set.
Public propertyStatic memberAlterQueueGets a server event that can be included in the event set.
Public propertyStatic memberAlterRemoteServerGets a server event that can be included in the event set.
Public propertyStatic memberAlterRemoteServiceBindingGets a server event that can be included in the event set.
Public propertyStatic memberAlterResourceGovernorConfigGets a server event that can be included in the event set.
Public propertyStatic memberAlterResourcePoolGets a server event that can be included in the event set.
Public propertyStatic memberAlterRoleGets a server event that can be included in the event set.
Public propertyStatic memberAlterRouteGets a server event that can be included in the event set.
Public propertyStatic memberAlterSchemaGets a server event that can be included in the event set.
Public propertyStatic memberAlterSearchPropertyListGets a server event that can be included in the event set.
Public propertyStatic memberAlterSequenceGets a server event that can be included in the event set.
Public propertyStatic memberAlterServerAuditGets a server event that can be included in the event set.
Public propertyStatic memberAlterServerAuditSpecificationGets a server event that can be included in the event set.
Public propertyStatic memberAlterServerConfigurationGets a server event that can be included in the event set.
Public propertyStatic memberAlterServerRoleGets a server event that can be included in the event set.
Public propertyStatic memberAlterServiceGets a server event that can be included in the event set.
Public propertyStatic memberAlterServiceMasterKeyGets a server event that can be included in the event set.
Public propertyStatic memberAlterSymmetricKeyGets a server event that can be included in the event set.
Public propertyStatic memberAlterTableGets a server event that can be included in the event set.
Public propertyStatic memberAlterTriggerGets a server event that can be included in the event set.
Public propertyStatic memberAlterUserGets a server event that can be included in the event set.
Public propertyStatic memberAlterViewGets a server event that can be included in the event set.
Public propertyStatic memberAlterWorkloadGroupGets a server event that can be included in the event set.
Public propertyStatic memberAlterXmlSchemaCollectionGets a server event that can be included in the event set.
Public propertyStatic memberBindDefaultGets a server event that can be included in the event set.
Public propertyStatic memberBindRuleGets a server event that can be included in the event set.
Public propertyStatic memberCreateApplicationRoleGets a server event that can be included in the event set.
Public propertyStatic memberCreateAssemblyGets a server event that can be included in the event set.
Public propertyStatic memberCreateAsymmetricKeyGets a server event that can be included in the event set.
Public propertyStatic memberCreateAvailabilityGroupGets a server event that can be included in the event set.
Public propertyStatic memberCreateBrokerPriorityGets a server event that can be included in the event set.
Public propertyStatic memberCreateCertificateGets a server event that can be included in the event set.
Public propertyStatic memberCreateContractGets a server event that can be included in the event set.
Public propertyStatic memberCreateCredentialGets a server event that can be included in the event set.
Public propertyStatic memberCreateCryptographicProviderGets a server event that can be included in the event set.
Public propertyStatic memberCreateDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberCreateDatabaseAuditSpecificationGets a server event that can be included in the event set.
Public propertyStatic memberCreateDatabaseEncryptionKeyGets a server event that can be included in the event set.
Public propertyStatic memberCreateDefaultGets a server event that can be included in the event set.
Public propertyStatic memberCreateEndpointGets a server event that can be included in the event set.
Public propertyStatic memberCreateEventNotificationGets a server event that can be included in the event set.
Public propertyStatic memberCreateEventSessionGets a server event that can be included in the event set.
Public propertyStatic memberCreateExtendedProcedureGets a server event that can be included in the event set.
Public propertyStatic memberCreateExtendedPropertyGets a server event that can be included in the event set.
Public propertyStatic memberCreateFulltextCatalogGets a server event that can be included in the event set.
Public propertyStatic memberCreateFulltextIndexGets a server event that can be included in the event set.
Public propertyStatic memberCreateFulltextStoplistGets a server event that can be included in the event set.
Public propertyStatic memberCreateFunctionGets a server event that can be included in the event set.
Public propertyStatic memberCreateIndexGets a server event that can be included in the event set.
Public propertyStatic memberCreateLinkedServerGets a server event that can be included in the event set.
Public propertyStatic memberCreateLinkedServerLoginGets a server event that can be included in the event set.
Public propertyStatic memberCreateLoginGets a server event that can be included in the event set.
Public propertyStatic memberCreateMasterKeyGets a server event that can be included in the event set.
Public propertyStatic memberCreateMessageGets a server event that can be included in the event set.
Public propertyStatic memberCreateMessageTypeGets a server event that can be included in the event set.
Public propertyStatic memberCreatePartitionFunctionGets a server event that can be included in the event set.
Public propertyStatic memberCreatePartitionSchemeGets a server event that can be included in the event set.
Public propertyStatic memberCreatePlanGuideGets a server event that can be included in the event set.
Public propertyStatic memberCreateProcedureGets a server event that can be included in the event set.
Public propertyStatic memberCreateQueueGets a server event that can be included in the event set.
Public propertyStatic memberCreateRemoteServerGets a server event that can be included in the event set.
Public propertyStatic memberCreateRemoteServiceBindingGets a server event that can be included in the event set.
Public propertyStatic memberCreateResourcePoolGets a server event that can be included in the event set.
Public propertyStatic memberCreateRoleGets a server event that can be included in the event set.
Public propertyStatic memberCreateRouteGets a server event that can be included in the event set.
Public propertyStatic memberCreateRuleGets a server event that can be included in the event set.
Public propertyStatic memberCreateSchemaGets a server event that can be included in the event set.
Public propertyStatic memberCreateSearchPropertyListGets a server event that can be included in the event set.
Public propertyStatic memberCreateSequenceGets a server event that can be included in the event set.
Public propertyStatic memberCreateServerAuditGets a server event that can be included in the event set.
Public propertyStatic memberCreateServerAuditSpecificationGets a server event that can be included in the event set.
Public propertyStatic memberCreateServerRoleGets a server event that can be included in the event set.
Public propertyStatic memberCreateServiceGets a server event that can be included in the event set.
Public propertyStatic memberCreateSpatialIndexGets a server event that can be included in the event set.
Public propertyStatic memberCreateStatisticsGets a server event that can be included in the event set.
Public propertyStatic memberCreateSymmetricKeyGets a server event that can be included in the event set.
Public propertyStatic memberCreateSynonymGets a server event that can be included in the event set.
Public propertyStatic memberCreateTableGets a server event that can be included in the event set.
Public propertyStatic memberCreateTriggerGets a server event that can be included in the event set.
Public propertyStatic memberCreateTypeGets a server event that can be included in the event set.
Public propertyStatic memberCreateUserGets a server event that can be included in the event set.
Public propertyStatic memberCreateViewGets a server event that can be included in the event set.
Public propertyStatic memberCreateWorkloadGroupGets a server event that can be included in the event set.
Public propertyStatic memberCreateXmlIndexGets a server event that can be included in the event set.
Public propertyStatic memberCreateXmlSchemaCollectionGets a server event that can be included in the event set.
Public propertyStatic memberDenyDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberDenyServerGets a server event that can be included in the event set.
Public propertyStatic memberDropApplicationRoleGets a server event that can be included in the event set.
Public propertyStatic memberDropAssemblyGets a server event that can be included in the event set.
Public propertyStatic memberDropAsymmetricKeyGets a server event that can be included in the event set.
Public propertyStatic memberDropAvailabilityGroupGets a server event that can be included in the event set.
Public propertyStatic memberDropBrokerPriorityGets a server event that can be included in the event set.
Public propertyStatic memberDropCertificateGets a server event that can be included in the event set.
Public propertyStatic memberDropContractGets a server event that can be included in the event set.
Public propertyStatic memberDropCredentialGets a server event that can be included in the event set.
Public propertyStatic memberDropCryptographicProviderGets a server event that can be included in the event set.
Public propertyStatic memberDropDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberDropDatabaseAuditSpecificationGets a server event that can be included in the event set.
Public propertyStatic memberDropDatabaseEncryptionKeyGets a server event that can be included in the event set.
Public propertyStatic memberDropDefaultGets a server event that can be included in the event set.
Public propertyStatic memberDropEndpointGets a server event that can be included in the event set.
Public propertyStatic memberDropEventNotificationGets a server event that can be included in the event set.
Public propertyStatic memberDropEventSessionGets a server event that can be included in the event set.
Public propertyStatic memberDropExtendedProcedureGets a server event that can be included in the event set.
Public propertyStatic memberDropExtendedPropertyGets a server event that can be included in the event set.
Public propertyStatic memberDropFulltextCatalogGets a server event that can be included in the event set.
Public propertyStatic memberDropFulltextIndexGets a server event that can be included in the event set.
Public propertyStatic memberDropFulltextStoplistGets a server event that can be included in the event set.
Public propertyStatic memberDropFunctionGets a server event that can be included in the event set.
Public propertyStatic memberDropIndexGets a server event that can be included in the event set.
Public propertyStatic memberDropLinkedServerGets a server event that can be included in the event set.
Public propertyStatic memberDropLinkedServerLoginGets a server event that can be included in the event set.
Public propertyStatic memberDropLoginGets a server event that can be included in the event set.
Public propertyStatic memberDropMasterKeyGets a server event that can be included in the event set.
Public propertyStatic memberDropMessageGets a server event that can be included in the event set.
Public propertyStatic memberDropMessageTypeGets a server event that can be included in the event set.
Public propertyStatic memberDropPartitionFunctionGets a server event that can be included in the event set.
Public propertyStatic memberDropPartitionSchemeGets a server event that can be included in the event set.
Public propertyStatic memberDropPlanGuideGets a server event that can be included in the event set.
Public propertyStatic memberDropProcedureGets a server event that can be included in the event set.
Public propertyStatic memberDropQueueGets a server event that can be included in the event set.
Public propertyStatic memberDropRemoteServerGets a server event that can be included in the event set.
Public propertyStatic memberDropRemoteServiceBindingGets a server event that can be included in the event set.
Public propertyStatic memberDropResourcePoolGets a server event that can be included in the event set.
Public propertyStatic memberDropRoleGets a server event that can be included in the event set.
Public propertyStatic memberDropRoleMemberGets a server event that can be included in the event set.
Public propertyStatic memberDropRouteGets a server event that can be included in the event set.
Public propertyStatic memberDropRuleGets a server event that can be included in the event set.
Public propertyStatic memberDropSchemaGets a server event that can be included in the event set.
Public propertyStatic memberDropSearchPropertyListGets a server event that can be included in the event set.
Public propertyStatic memberDropSequenceGets a server event that can be included in the event set.
Public propertyStatic memberDropServerAuditGets a server event that can be included in the event set.
Public propertyStatic memberDropServerAuditSpecificationGets a server event that can be included in the event set.
Public propertyStatic memberDropServerRoleGets a server event that can be included in the event set.
Public propertyStatic memberDropServerRoleMemberGets a server event that can be included in the event set.
Public propertyStatic memberDropServiceGets a server event that can be included in the event set.
Public propertyStatic memberDropSignatureGets a server event that can be included in the event set.
Public propertyStatic memberDropSignatureSchemaObjectGets a server event that can be included in the event set.
Public propertyStatic memberDropStatisticsGets a server event that can be included in the event set.
Public propertyStatic memberDropSymmetricKeyGets a server event that can be included in the event set.
Public propertyStatic memberDropSynonymGets a server event that can be included in the event set.
Public propertyStatic memberDropTableGets a server event that can be included in the event set.
Public propertyStatic memberDropTriggerGets a server event that can be included in the event set.
Public propertyStatic memberDropTypeGets a server event that can be included in the event set.
Public propertyStatic memberDropUserGets a server event that can be included in the event set.
Public propertyStatic memberDropViewGets a server event that can be included in the event set.
Public propertyStatic memberDropWorkloadGroupGets a server event that can be included in the event set.
Public propertyStatic memberDropXmlSchemaCollectionGets a server event that can be included in the event set.
Public propertyStatic memberGrantDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberGrantServerGets a server event that can be included in the event set.
Public propertyStatic memberRenameGets a server event that can be included in the event set.
Public propertyStatic memberRevokeDatabaseGets a server event that can be included in the event set.
Public propertyStatic memberRevokeServerGets a server event that can be included in the event set.
Public propertyStatic memberUnbindDefaultGets a server event that can be included in the event set.
Public propertyStatic memberUnbindRuleGets a server event that can be included in the event set.
Public propertyStatic memberUpdateStatisticsGets a server event that can be included in the event set.
Top

  NameDescription
Public methodStatic memberAddReturns a server event set after adding a new server event to the event set.
Public methodStatic memberBitwiseOrReturns a ServerEventSet as a result of a bitwise OR operation on two ServerEvent objects.
Public methodEqualsDetermines whether the referenced server event object is equal to a specified object. (Overrides Object.Equals(Object).)
Public methodGetHashCodeDo 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. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodToStringReturns the referenced object in string format. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberAdditionCreates a server event set by performing an addition operation on two ServerEvent objects.
Public operatorStatic memberBitwiseOrCreates a server event set by performing a bitwise OR operation on two ServerEvent objects.
Public operatorStatic memberEqualityCreates a server event set by performing an equality operation on two ServerEvent objects.
Public operatorStatic memberImplicit(ServerEvent to ServerEventSet)Creates a server event set by performing an implicit operation on a ServerEvent object.
Public operatorStatic memberInequalityCreates a server event set by performing an inequality operation on two ServerEvent objects.
Top

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft