ObjectRenamedEventArgs.OldName Property

Gets the old name of the object.

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

Syntax

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

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

Property Value

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