ObjectRenamedEventArgs Constructor (Urn, Object, String, String, String)
A ObjectRenamedEventArgs object
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
- newUrn
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
Urn object identifying the new URN for the object.
- innerObject
Type: System.Object
Object to be renamed
- oldName
Type: System.String
Object name to be changed.
- newName
Type: System.String
New object name.
- oldUrn
Type: System.String
Urn object identifying the object to be changed