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


Класс ServerEvent

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

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

Синтаксис

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

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

Свойства

  Имя Описание
Открытое свойствоСтатический элемент AddRoleMember Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AddServerRoleMember Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AddSignature Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AddSignatureSchemaObject Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterApplicationRole Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAssembly Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAsymmetricKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAuthorizationDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterAuthorizationServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterBrokerPriority Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterCertificate Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterCredential Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterCryptographicProvider Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterDatabaseAuditSpecification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterDatabaseEncryptionKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterEndpoint Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterEventSession Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterExtendedProperty Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFulltextCatalog Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFulltextIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFulltextStoplist Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterFunction Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterInstance Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterLinkedServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterLogin Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterMasterKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterMessage Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterMessageType Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterPartitionFunction Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterPartitionScheme Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterPlanGuide Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterProcedure Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterQueue Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRemoteServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRemoteServiceBinding Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterResourceGovernorConfig Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterResourcePool Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRole Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterRoute Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterSchema Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterServerAudit Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterServerAuditSpecification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterServerConfiguration Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterService Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterServiceMasterKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterSymmetricKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterTable Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterTrigger Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterUser Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterView Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterWorkloadGroup Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент AlterXmlSchemaCollection Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент BindDefault Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент BindRule Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateApplicationRole Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateAssembly Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateAsymmetricKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateBrokerPriority Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateCertificate Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateContract Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateCredential Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateCryptographicProvider Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDatabaseAuditSpecification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDatabaseEncryptionKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateDefault Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateEndpoint Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateEventNotification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateEventSession Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateExtendedProcedure Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateExtendedProperty Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextCatalog Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFulltextStoplist Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateFunction Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateLinkedServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateLinkedServerLogin Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateLogin Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateMasterKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateMessage Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateMessageType Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreatePartitionFunction Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreatePartitionScheme Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreatePlanGuide Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateProcedure Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateQueue Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRemoteServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRemoteServiceBinding Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateResourcePool Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRole Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRoute Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateRule Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSchema Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateServerAudit Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateServerAuditSpecification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateService Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSpatialIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateStatistics Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSymmetricKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateSynonym Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateTable Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateTrigger Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateType Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateUser Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateView Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateWorkloadGroup Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateXmlIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент CreateXmlSchemaCollection Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DenyDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DenyServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropApplicationRole Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropAssembly Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropAsymmetricKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropBrokerPriority Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropCertificate Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropContract Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropCredential Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropCryptographicProvider Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropDatabaseAuditSpecification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropDatabaseEncryptionKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropDefault Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropEndpoint Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropEventNotification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropEventSession Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropExtendedProcedure Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropExtendedProperty Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextCatalog Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropFulltextStoplist Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropFunction Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropIndex Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropLinkedServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropLinkedServerLogin Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropLogin Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropMasterKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropMessage Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropMessageType Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropPartitionFunction Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropPartitionScheme Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropPlanGuide Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropProcedure Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropQueue Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropRemoteServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropRemoteServiceBinding Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropResourcePool Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropRole Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropRoleMember Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropRoute Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropRule Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropSchema Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropServerAudit Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropServerAuditSpecification Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropServerRoleMember Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropService Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropSignature Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropSignatureSchemaObject Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropStatistics Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropSymmetricKey Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropSynonym Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropTable Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropTrigger Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropType Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropUser Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropView Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropWorkloadGroup Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент DropXmlSchemaCollection Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент GrantDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент GrantServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент Rename Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент RevokeDatabase Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент RevokeServer Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент UnbindDefault Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент UnbindRule Gets a server event that can be included in the event set.
Открытое свойствоСтатический элемент UpdateStatistics Gets a server event that can be included in the event set.

В начало

Методы

  Имя Описание
Открытый методСтатический элемент Add Returns a server event set after adding a new server event to the event set.
Открытый методСтатический элемент BitwiseOr Returns a ServerEventSet as a result of a bitwise OR operation on two ServerEvent objects.
Открытый метод Equals Determines whether the referenced server event object is equal to a specified object. (Переопределяет Object. . :: . .Equals(Object).)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.Serves as a hash function, suitable for use in hashing algorithms and data structures like a hash table. (Переопределяет Object. . :: . .GetHashCode() () () ().)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString Returns the referenced object in string format. (Переопределяет Object. . :: . .ToString() () () ().)

В начало

Операторы

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

В начало

Замечания

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

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

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

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