ObjectRenamedEventArgs 类
The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.
继承层次结构
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Management.Smo. . :: . .SmoEventArgs
Microsoft.SqlServer.Management.Smo..::..ObjectRenamedEventArgs
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Class ObjectRenamedEventArgs _
Inherits SmoEventArgs
用法
Dim instance As ObjectRenamedEventArgs
public class ObjectRenamedEventArgs : SmoEventArgs
public ref class ObjectRenamedEventArgs : public SmoEventArgs
type ObjectRenamedEventArgs =
class
inherit SmoEventArgs
end
public class ObjectRenamedEventArgs extends SmoEventArgs
ObjectRenamedEventArgs 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ObjectRenamedEventArgs(Urn, Object, String, String) | A ObjectRenamedEventArgs object | |
ObjectRenamedEventArgs(Urn, Object, String, String, String) | A ObjectRenamedEventArgs object |
页首
属性
名称 | 说明 | |
---|---|---|
NewName | Gets the new name of the object. | |
OldName | Gets the old name of the object. | |
OldUrn | Property identifying the URN object before changing. | |
SmoObject | Gets the object that is being renamed. | |
Urn | Gets the Uniform Resource Name (URN) address of SMO event. (从 SmoEventArgs 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。