共用方式為


ObjectRenamedEventArgs Members

The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.

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

Public Constructors

  名稱 Description
ObjectRenamedEventArgs Initializes a new instance of the ObjectRenamedEventArgs class with the specified Uniform Resource Name (URN) value, the specified inner object, and the new and old names.

頂端

Public Properties

  名稱 Description
ms220040.pubproperty(zh-tw,SQL.90).gif NewName Gets the new name of the object.
ms220040.pubproperty(zh-tw,SQL.90).gif OldName Gets the old name of the object.
ms220040.pubproperty(zh-tw,SQL.90).gif SmoObject Gets the object that is being renamed.
ms220040.pubproperty(zh-tw,SQL.90).gif Urn  Gets the Uniform Resource Name (URN) address of the SQL Server Management Objects (SMO) event. (inherited from SmoEventArgs)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms220040.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220040.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms220040.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms220040.pubmethod(zh-tw,SQL.90).gifms220040.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220040.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

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

頂端

請參閱

參考

ObjectRenamedEventArgs Class
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Handling SMO Events