Share via


ObjectRenamedEventArgs.NewName Property

Gets the new name of the object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property NewName As String 
    Get
'Usage
Dim instance As ObjectRenamedEventArgs 
Dim value As String 

value = instance.NewName
public string NewName { get; }
public:
property String^ NewName {
    String^ get ();
}
member NewName : string
function get NewName () : String

Property Value

Type: System.String
A String value that specifies the new name of the object.

Examples

Handling SMO Events

See Also

Reference

ObjectRenamedEventArgs Class

Microsoft.SqlServer.Management.Smo Namespace