ObjectRenamedEventArgs Constructor (Urn, Object, String, String, String)

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

Syntax

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

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

Parameters

  • oldUrn
    Type: System.String
    Urn object identifying the object to be changed