Freigeben über


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
)

Parameter

  • 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.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ObjectRenamedEventArgs Class
ObjectRenamedEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Handling SMO Events