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 | |
---|---|---|
ObjectRenamedEventArgs(Urn, Object, String, String) | A ObjectRenamedEventArgs object | |
ObjectRenamedEventArgs(Urn, Object, String, String, String) | A ObjectRenamedEventArgs object |
Top
Properties
Name | Description | |
---|---|---|
NewName | Gets the new name of the object. | |
OldName | Gets the old name of the object. | |
OldUrn | Property identifying the URN object before changing. | |
SmoObject | Gets the object that is being renamed. | |
Urn | Gets the Uniform Resource Name (URN) address of SMO event. (Inherited from SmoEventArgs.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.
Examples
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.