ObjectCreatedEventArgs Constructor

Initializes a new instance of the ObjectCreatedEventArgs class with the specified Uniform Resource Name (URN) value and the specified inner object.

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

Syntax

'Declaration
Public Sub New ( _
    urn As Urn, _
    innerObject As Object _
)
public ObjectCreatedEventArgs (
    Urn urn,
    Object innerObject
)
public:
ObjectCreatedEventArgs (
    Urn^ urn, 
    Object^ innerObject
)
public ObjectCreatedEventArgs (
    Urn urn, 
    Object innerObject
)
public function ObjectCreatedEventArgs (
    urn : Urn, 
    innerObject : Object
)

Parameters

  • urn
    A Urn object value that specifies the URN value.
  • innerObject
    An Object system object value that specifies the inner object.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ObjectCreatedEventArgs Class
ObjectCreatedEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events