ObjectCreated 事件

Occurs when an SFC object has been created. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Event ObjectCreated As SfcApplication..::..SfcObjectCreatedEventHandler
用法
Dim instance As SfcApplicationEvents
Dim handler As SfcApplication..::..SfcObjectCreatedEventHandler

AddHandler instance.ObjectCreated, handler
public event SfcApplication..::..SfcObjectCreatedEventHandler ObjectCreated
public:
 event SfcApplication..::..SfcObjectCreatedEventHandler^ ObjectCreated {
    void add (SfcApplication..::..SfcObjectCreatedEventHandler^ value);
    void remove (SfcApplication..::..SfcObjectCreatedEventHandler^ value);
}
member ObjectCreated : IEvent<SfcApplication..::..SfcObjectCreatedEventHandler,
    SfcObjectCreatedEventArgs>
JScript 支持使用事件,但不支持声明新事件。