共用方式為


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 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

範例

處理 SMO 事件

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間