共用方式為


ServerEvent Members

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

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

Public Properties

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

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif Add Returns a server event set after adding a new server event to the event set.
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif BitwiseOr  
ms220238.pubmethod(zh-tw,SQL.90).gif Equals Overloaded. Overridden.  
ms220238.pubmethod(zh-tw,SQL.90).gif GetHashCode Overridden. This method supports the Microsoft SQL Server 2005 infrastructure and is not intended to be used directly from your code.
ms220238.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif op_Addition Creates a server event set by performing an addition operation on two ServerEvent objects.
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif op_BitwiseOr Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif op_Equality Creates a server event set by performing an equality operation on two ServerEvent objects.
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif op_Implicit  
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif op_Inequality Creates a server event set by performing an inequality operation on two ServerEvent objects.
ms220238.pubmethod(zh-tw,SQL.90).gifms220238.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220238.pubmethod(zh-tw,SQL.90).gif ToString Overridden.  

頂端

Protected Methods

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

頂端

請參閱

參考

ServerEvent Class
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Handling SMO Events