ObjectRenamedEventArgs Constructor (, Object, String, String)

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

Syntax

'Declaration
Public Sub New ( _
    urn As Urn, _
    innerObject As Object, _
    oldName As String, _
    newName As String _
)
'Usage
Dim urn As Urn
Dim innerObject As Object
Dim oldName As String
Dim newName As String

Dim instance As New ObjectRenamedEventArgs(urn, innerObject, _
    oldName, newName)
public ObjectRenamedEventArgs(
    Urn urn,
    Object innerObject,
    string oldName,
    string newName
)
public:
ObjectRenamedEventArgs(
    Urn^ urn, 
    Object^ innerObject, 
    String^ oldName, 
    String^ newName
)
new : 
        urn:Urn * 
        innerObject:Object * 
        oldName:string * 
        newName:string -> ObjectRenamedEventArgs
public function ObjectRenamedEventArgs(
    urn : Urn, 
    innerObject : Object, 
    oldName : String, 
    newName : String
)

Parameters

  • urn
    Type: Urn
    Urn object identifying the object to be changed.