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
'Declaration
Public Class ObjectCreatedEventArgs _
    Inherits SmoEventArgs
'Usage
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 | |
|---|---|---|
| .gif) | 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 | |
|---|---|---|
| .gif) | SmoObject | Gets the created object that causes the event to be raised. | 
| .gif) | Urn | Gets the Uniform Resource Name (URN) address of SMO event. (Inherited from SmoEventArgs.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | 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.
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.