Partilhar via


Evento ObjectCreated

Occurs when an SFC object has been created. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Public Event ObjectCreated As SfcApplication..::..SfcObjectCreatedEventHandler
'Uso
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.