共用方式為


ObjectCreatedEventArgs 建構函式

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    urn As Urn, _
    innerObject As Object _
)
'用途
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
)

參數

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

範例

處理 SMO 事件

請參閱

參考

ObjectCreatedEventArgs 類別

Microsoft.SqlServer.Management.Smo 命名空間