ObjectRenamedEventArgs ObjectRenamedEventArgs ObjectRenamedEventArgs Class

Definition

The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.

public ref class ObjectRenamedEventArgs : Microsoft::SqlServer::Management::Smo::SmoEventArgs
public class ObjectRenamedEventArgs : Microsoft.SqlServer.Management.Smo.SmoEventArgs
Public Class ObjectRenamedEventArgs
Inherits SmoEventArgs
Inheritance
ObjectRenamedEventArgsObjectRenamedEventArgsObjectRenamedEventArgs

Examples

Handling SMO Events

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

ObjectRenamedEventArgs(Urn, Object, String, String) ObjectRenamedEventArgs(Urn, Object, String, String) ObjectRenamedEventArgs(Urn, Object, String, String)

A ObjectRenamedEventArgs object

ObjectRenamedEventArgs(Urn, Object, String, String, String) ObjectRenamedEventArgs(Urn, Object, String, String, String) ObjectRenamedEventArgs(Urn, Object, String, String, String)

A ObjectRenamedEventArgs object

Properties

NewName NewName NewName

Gets the new name of the object.

OldName OldName OldName

Gets the old name of the object.

OldUrn OldUrn OldUrn

Property identifying the URN object before changing.

SmoObject SmoObject SmoObject

Gets the object that is being renamed.

Urn Urn Urn

Gets the Uniform Resource Name (URN) address of SMO event.

(Inherited from SmoEventArgs)

Applies to