Поделиться через


Класс DatabaseEvent

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

Иерархия наследования

System.Object
  Microsoft.SqlServer.Management.Smo.DatabaseEvent

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public NotInheritable Class DatabaseEvent
'Применение
Dim instance As DatabaseEvent
public sealed class DatabaseEvent
public ref class DatabaseEvent sealed
[<SealedAttribute>]
type DatabaseEvent =  class end
public final class DatabaseEvent

Тип DatabaseEvent обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойствоСтатический элемент AddRoleMember Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AddSignature Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AddSignatureSchemaObject Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterApplicationRole Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAssembly Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAsymmetricKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAuthorizationDatabase Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterBrokerPriority Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterCertificate Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterDatabaseAuditSpecification Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterDatabaseEncryptionKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterExtendedProperty Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFulltextCatalog Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFulltextIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFulltextStoplist Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFunction Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterMasterKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterMessageType Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterPartitionFunction Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterPartitionScheme Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterPlanGuide Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterProcedure Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterQueue Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRemoteServiceBinding Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRole Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRoute Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterSchema Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterSearchPropertyList Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterSequence Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterService Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterSymmetricKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterTable Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterTrigger Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterUser Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterView Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент AlterXmlSchemaCollection Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент BindDefault Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент BindRule Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateApplicationRole Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateAssembly Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateAsymmetricKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateBrokerPriority Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateCertificate Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateContract Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDatabaseAuditSpecification Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDatabaseEncryptionKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDefault Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateEventNotification Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateExtendedProperty Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextCatalog Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextStoplist Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFunction Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateMasterKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateMessageType Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreatePartitionFunction Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreatePartitionScheme Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreatePlanGuide Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateProcedure Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateQueue Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRemoteServiceBinding Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRole Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRoute Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRule Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSchema Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSearchPropertyList Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSequence Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateService Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSpatialIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateStatistics Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSymmetricKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSynonym Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateTable Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateTrigger Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateType Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateUser Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateView Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateXmlIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент CreateXmlSchemaCollection Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DenyDatabase Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropApplicationRole Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropAssembly Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropAsymmetricKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropBrokerPriority Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropCertificate Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropContract Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropDatabase Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropDatabaseAuditSpecification Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropDatabaseEncryptionKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropDefault Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropEventNotification Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropExtendedProperty Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextCatalog Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextStoplist Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropFunction Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropIndex Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropMasterKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropMessageType Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropPartitionFunction Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropPartitionScheme Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropPlanGuide Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropProcedure Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropQueue Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropRemoteServiceBinding Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropRole Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropRoleMember Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropRoute Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropRule Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSchema Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSearchPropertyList Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSequence Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropService Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSignature Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSignatureSchemaObject Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropStatistics Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSymmetricKey Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropSynonym Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropTable Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropTrigger Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropType Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropUser Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropView Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент DropXmlSchemaCollection Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент GrantDatabase Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент Rename Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент RevokeDatabase Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент UnbindDefault Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент UnbindRule Gets a database event that can be included in the event set.
Открытое свойствоСтатический элемент UpdateStatistics Gets a database event that can be included in the event set.

В начало

Методы

  Имя Описание
Открытый методСтатический элемент Add Returns the database event set that was created by adding two database events together.
Открытый методСтатический элемент BitwiseOr Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
Открытый метод Equals Determines whether the referenced database event object is equal to a specified object. (Переопределяет Object.Equals(Object).)
Открытый метод GetHashCode Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Переопределяет Object.GetHashCode().)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString Returns the referenced object in string format. (Переопределяет Object.ToString().)

В начало

Операторы

  Имя Описание
Открытый операторСтатический элемент Addition Creates a database event set by performing an addition operation on two DatabaseEvent objects.
Открытый операторСтатический элемент BitwiseOr Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
Открытый операторСтатический элемент Equality Creates a database event set by performing an equality operation on two DatabaseEvent objects.
Открытый операторСтатический элемент Implicit(DatabaseEvent to DatabaseEventSet) Creates a database event set by performing an implicit operation on a DatabaseEvent object.
Открытый операторСтатический элемент Inequality Creates a database event set by performing an inequality operation on two DatabaseEvent objects.

В начало

Замечания

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

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Примеры

Обработка событий SMO

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo