ObjectRenamedEventArgs Constructor (, Object, String, String)
A ObjectRenamedEventArgs object
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.
- innerObject
Type: System.Object
Object to be renamed
- oldName
Type: System.String
Object name to be changed.
- newName
Type: System.String
New object name.