ObjectAlteredEventArgs Class

The ObjectAlteredEventArgs object represents the arguments that are passed by the event that is raised when an object is altered.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Smo.SmoEventArgs
      Microsoft.SqlServer.Management.Smo.ObjectAlteredEventArgs

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class ObjectAlteredEventArgs _
    Inherits SmoEventArgs
'Usage
Dim instance As ObjectAlteredEventArgs
public class ObjectAlteredEventArgs : SmoEventArgs
public ref class ObjectAlteredEventArgs : public SmoEventArgs
type ObjectAlteredEventArgs =  
    class 
        inherit SmoEventArgs 
    end
public class ObjectAlteredEventArgs extends SmoEventArgs

The ObjectAlteredEventArgs type exposes the following members.

Constructors

  Name Description
Public method ObjectAlteredEventArgs Initializes a new instance of the ObjectAlteredEventArgs class that has the specified Uniform Resource Name (URN) value and the specified inner object.

Top

Properties

  Name Description
Public property SmoObject Gets the altered object that causes the event to be raised.
Public property Urn Gets the Uniform Resource Name (URN) address of SMO event. (Inherited from SmoEventArgs.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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.

Examples

Handling SMO Events

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace