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 命名空间