Aracılığıyla paylaş


ObjectCreatedEventArgs Class

The ObjectCreatedEventArgs object represents the arguments that are passed by the event that is raised when an object is created.

Inheritance Hierarchy

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

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

Syntax

'Bildirim
Public Class ObjectCreatedEventArgs _
    Inherits SmoEventArgs
'Kullanım
Dim instance As ObjectCreatedEventArgs
public class ObjectCreatedEventArgs : SmoEventArgs
public ref class ObjectCreatedEventArgs : public SmoEventArgs
type ObjectCreatedEventArgs =  
    class
        inherit SmoEventArgs
    end
public class ObjectCreatedEventArgs extends SmoEventArgs

The ObjectCreatedEventArgs type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property SmoObject Gets the created 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