共用方式為


DatabaseEvent Members

The DatabaseEvent object represents the Microsoft SQL Server database events that can be included in a database event set.

The following tables list the members exposed by the DatabaseEvent type.

Public Properties

  名稱 Description
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AddRoleMember  
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterApplicationRole Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterAssembly Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterAuthorizationDatabase Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterCertificate Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterFunction Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterIndex Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterMessageType Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterPartitionFunction Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterPartitionScheme Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterProcedure Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterQueue Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterRemoteServiceBinding Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterRole Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterRoute Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterSchema Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterService Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterTable Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterTrigger Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterUser Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterView Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif AlterXmlSchemaCollection Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateApplicationRole Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateAssembly Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateCertificate Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateContract Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateEventNotification Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateFunction Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateIndex Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateMessageType Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreatePartitionFunction Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreatePartitionScheme Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateProcedure Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateQueue Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateRemoteServiceBinding Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateRole Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateRoute Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateSchema Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateService Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateStatistics Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateSynonym Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateTable Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateTrigger Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateType Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateUser Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateView Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateXmlIndex Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif CreateXmlSchemaCollection Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DenyDatabase Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropApplicationRole Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropAssembly Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropCertificate Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropContract Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropDatabase Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropEventNotification Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropFunction Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropIndex Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropMessageType Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropPartitionFunction Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropPartitionScheme Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropProcedure Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropQueue Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropRemoteServiceBinding Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropRole Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropRoleMember  
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropRoute Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropSchema Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropService Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropStatistics Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropSynonym Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropTable Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropTrigger Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropType Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropUser Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropView Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif DropXmlSchemaCollection Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif GrantDatabase Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif RevokeDatabase Gets a database event that can be included in the event set.
ms219345.pubproperty(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif UpdateStatistics Gets a database event that can be included in the event set.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif Add Returns the database event set that was created by adding two database events together.
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif BitwiseOr  
ms219345.pubmethod(zh-tw,SQL.90).gif Equals Overloaded. Overridden.  
ms219345.pubmethod(zh-tw,SQL.90).gif GetHashCode Overridden. This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.
ms219345.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif op_Addition Creates a database event set by performing an addition operation on two DatabaseEvent objects.
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif op_BitwiseOr Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif op_Equality Creates a database event set by performing an equality operation on two DatabaseEvent objects.
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif op_Implicit  
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif op_Inequality Creates a database event set by performing an inequality operation on two DatabaseEvent objects.
ms219345.pubmethod(zh-tw,SQL.90).gifms219345.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219345.pubmethod(zh-tw,SQL.90).gif ToString Overridden. Returns the referenced object in string format.

頂端

Protected Methods

  名稱 Description
ms219345.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms219345.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

DatabaseEvent Class
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Handling SMO Events