Dela via


ObjectCreatedEventArgs Constructor

Initializes a new instance of the ObjectCreatedEventArgs class that has 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 _
)
'Usage
Dim urn As Urn
Dim innerObject As Object

Dim instance As New ObjectCreatedEventArgs(urn, innerObject)
public ObjectCreatedEventArgs(
    Urn urn,
    Object innerObject
)
public:
ObjectCreatedEventArgs(
    Urn^ urn, 
    Object^ innerObject
)
new : 
        urn:Urn * 
        innerObject:Object -> ObjectCreatedEventArgs
public function ObjectCreatedEventArgs(
    urn : Urn, 
    innerObject : Object
)

Parameters

  • innerObject
    Type: System.Object
    An Object system object value that specifies the inner object.