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-cn,SQL.90).gif NewName Gets the new name of the object.
ms220040.pubproperty(zh-cn,SQL.90).gif OldName Gets the old name of the object.
ms220040.pubproperty(zh-cn,SQL.90).gif SmoObject Gets the object that is being renamed.
ms220040.pubproperty(zh-cn,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-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220040.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms220040.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms220040.pubmethod(zh-cn,SQL.90).gifms220040.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220040.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

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

顶部

请参阅

参考

ObjectRenamedEventArgs Class
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Handling SMO Events