ObjectRenamedEventArgs Class
The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.
Inheritance Hierarchy
System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Smo.SmoEventArgs
      Microsoft.SqlServer.Management.Smo.ObjectRenamedEventArgs
Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Class ObjectRenamedEventArgs _
    Inherits SmoEventArgs
'Usage
Dim instance As ObjectRenamedEventArgs
public class ObjectRenamedEventArgs : SmoEventArgs
public ref class ObjectRenamedEventArgs : public SmoEventArgs
type ObjectRenamedEventArgs =  
    class
        inherit SmoEventArgs
    end
public class ObjectRenamedEventArgs extends SmoEventArgs
The ObjectRenamedEventArgs type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ObjectRenamedEventArgs(Urn, Object, String, String) | A ObjectRenamedEventArgs object | 
| .gif) | ObjectRenamedEventArgs(Urn, Object, String, String, String) | A ObjectRenamedEventArgs object | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | NewName | Gets the new name of the object. | 
| .gif) | OldName | Gets the old name of the object. | 
| .gif) | OldUrn | Property identifying the URN object before changing. | 
| .gif) | SmoObject | Gets the object that is being renamed. | 
| .gif) | Urn | Gets the Uniform Resource Name (URN) address of SMO event. (Inherited from SmoEventArgs.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | ToString | (Inherited from Object.) | 
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.