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 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
範例
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。