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