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.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
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
)
Parámetros
- 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.
Notas
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
ObjectRenamedEventArgs Class
ObjectRenamedEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace