共用方式為


SfcApplicationEvents.OnObjectCreated 方法

Raises the ObjectCreated event. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Sub OnObjectCreated ( _
    obj As SfcInstance, _
    e As SfcObjectCreatedEventArgs _
)
'用途
Dim instance As SfcApplicationEvents 
Dim obj As SfcInstance 
Dim e As SfcObjectCreatedEventArgs

instance.OnObjectCreated(obj, e)
public void OnObjectCreated(
    SfcInstance obj,
    SfcObjectCreatedEventArgs e
)
public:
void OnObjectCreated(
    SfcInstance^ obj, 
    SfcObjectCreatedEventArgs^ e
)
member OnObjectCreated : 
        obj:SfcInstance * 
        e:SfcObjectCreatedEventArgs -> unit
public function OnObjectCreated(
    obj : SfcInstance, 
    e : SfcObjectCreatedEventArgs
)

參數

請參閱

參考

SfcApplicationEvents 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間