다음을 통해 공유


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.

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
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
)

매개 변수

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

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

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

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

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

관련 자료

Handling SMO Events