ObjectRenamedEventArgs Constructor
Initializes a new instance of the ObjectRenamedEventArgs class with the specified Uniform Resource Name (URN) value, the specified inner object, and the new and old names.
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 _
)
public ObjectRenamedEventArgs (
Urn urn,
Object innerObject,
string oldName,
string newName
)
public:
ObjectRenamedEventArgs (
Urn^ urn,
Object^ innerObject,
String^ oldName,
String^ newName
)
public ObjectRenamedEventArgs (
Urn urn,
Object innerObject,
String oldName,
String newName
)
public function ObjectRenamedEventArgs (
urn : Urn,
innerObject : Object,
oldName : String,
newName : String
)
Parameters
- urn
A Urn object value that specifies the URN value.
- innerObject
An Object system object value that specifies the inner object that caused the event.
- oldName
A String value that specifies name of the object.
- newName
A String value that specifies the new name of the object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ObjectRenamedEventArgs Class
ObjectRenamedEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace