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.
公共属性静态成员 AlterAvailabilityGroup 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.
公共属性静态成员 AlterSearchPropertyList Gets a server event that can be included in the event set.
公共属性静态成员 AlterSequence 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.
公共属性静态成员 AlterServerRole 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.
公共属性静态成员 CreateAvailabilityGroup 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.
公共属性静态成员 CreateSearchPropertyList Gets a server event that can be included in the event set.
公共属性静态成员 CreateSequence 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.
公共属性静态成员 CreateServerRole 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.
公共属性静态成员 DropAvailabilityGroup 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.
公共属性静态成员 DropSearchPropertyList Gets a server event that can be included in the event set.
公共属性静态成员 DropSequence 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.
公共属性静态成员 DropServerRole 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)。)
公共方法 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 继承。)
公共方法 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(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

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

示例

处理 SMO 事件

线程安全

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

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间