Partilhar via


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

  Name 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.

Top

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220040.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220040.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220040.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220040.pubmethod(en-US,SQL.90).gifms220040.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220040.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220040.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220040.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

ObjectRenamedEventArgs Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events