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

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

示例

处理 SMO 事件

线程安全

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

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间