Dela via


SfcApplicationEvents.ObjectCreated Event

Occurs when an SFC object has been created. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Event ObjectCreated As SfcApplication..::..SfcObjectCreatedEventHandler
'Usage
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 supports the use of events, but not the declaration of new ones.