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
公共属性静态成员 AddSignatureSchemaObject
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 AlterCertificate Gets a server event that can be included in the event set.
公共属性静态成员 AlterCredential
公共属性静态成员 AlterCryptographicProvider
公共属性静态成员 AlterDatabase Gets a server event that can be included in the event set.
公共属性静态成员 AlterDatabaseAuditSpecification
公共属性静态成员 AlterDatabaseEncryptionKey
公共属性静态成员 AlterEndpoint Gets a server event that can be included in the event set.
公共属性静态成员 AlterEventSession
公共属性静态成员 AlterExtendedProperty
公共属性静态成员 AlterFulltextCatalog
公共属性静态成员 AlterFulltextIndex
公共属性静态成员 AlterFulltextStoplist
公共属性静态成员 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
公共属性静态成员 AlterLinkedServer
公共属性静态成员 AlterLogin Gets a server event that can be included in the event set.
公共属性静态成员 AlterMasterKey
公共属性静态成员 AlterMessage
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 AlterRemoteServiceBinding Gets a server event that can be included in the event set.
公共属性静态成员 AlterResourceGovernorConfig
公共属性静态成员 AlterResourcePool
公共属性静态成员 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
公共属性静态成员 AlterServerAuditSpecification
公共属性静态成员 AlterService Gets a server event that can be included in the event set.
公共属性静态成员 AlterServiceMasterKey
公共属性静态成员 AlterSymmetricKey
公共属性静态成员 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
公共属性静态成员 AlterXmlSchemaCollection Gets a server event that can be included in the event set.
公共属性静态成员 BindDefault
公共属性静态成员 BindRule
公共属性静态成员 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
公共属性静态成员 CreateBrokerPriority
公共属性静态成员 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
公共属性静态成员 CreateCryptographicProvider
公共属性静态成员 CreateDatabase Gets a server event that can be included in the event set.
公共属性静态成员 CreateDatabaseAuditSpecification
公共属性静态成员 CreateDatabaseEncryptionKey
公共属性静态成员 CreateDefault
公共属性静态成员 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
公共属性静态成员 CreateExtendedProcedure
公共属性静态成员 CreateExtendedProperty
公共属性静态成员 CreateFulltextCatalog
公共属性静态成员 CreateFulltextIndex
公共属性静态成员 CreateFulltextStoplist
公共属性静态成员 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
公共属性静态成员 CreateLinkedServerLogin
公共属性静态成员 CreateLogin Gets a server event that can be included in the event set.
公共属性静态成员 CreateMasterKey
公共属性静态成员 CreateMessage
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 CreateRemoteServiceBinding Gets a server event that can be included in the event set.
公共属性静态成员 CreateResourcePool
公共属性静态成员 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
公共属性静态成员 CreateSchema Gets a server event that can be included in the event set.
公共属性静态成员 CreateServerAudit
公共属性静态成员 CreateServerAuditSpecification
公共属性静态成员 CreateService Gets a server event that can be included in the event set.
公共属性静态成员 CreateSpatialIndex
公共属性静态成员 CreateStatistics Gets a server event that can be included in the event set.
公共属性静态成员 CreateSymmetricKey
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 DropBrokerPriority
公共属性静态成员 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
公共属性静态成员 DropCryptographicProvider
公共属性静态成员 DropDatabase Gets a server event that can be included in the event set.
公共属性静态成员 DropDatabaseAuditSpecification
公共属性静态成员 DropDatabaseEncryptionKey
公共属性静态成员 DropDefault
公共属性静态成员 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
公共属性静态成员 DropExtendedProcedure
公共属性静态成员 DropExtendedProperty
公共属性静态成员 DropFulltextCatalog
公共属性静态成员 DropFulltextIndex
公共属性静态成员 DropFulltextStoplist
公共属性静态成员 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
公共属性静态成员 DropLinkedServerLogin
公共属性静态成员 DropLogin Gets a server event that can be included in the event set.
公共属性静态成员 DropMasterKey
公共属性静态成员 DropMessage
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 DropRemoteServiceBinding Gets a server event that can be included in the event set.
公共属性静态成员 DropResourcePool
公共属性静态成员 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
公共属性静态成员 DropSchema Gets a server event that can be included in the event set.
公共属性静态成员 DropServerAudit
公共属性静态成员 DropServerAuditSpecification
公共属性静态成员 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
公共属性静态成员 DropSignatureSchemaObject
公共属性静态成员 DropStatistics Gets a server event that can be included in the event set.
公共属性静态成员 DropSymmetricKey
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 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
公共属性静态成员 UnbindRule
公共属性静态成员 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
公共方法 Equals Determines whether the referenced server event object is equal to a specified object. (覆盖 Object. . :: . .Equals(Object)。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (覆盖 Object. . :: . .GetHashCode() () () ()。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (覆盖 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)
公共运算符静态成员 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

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。