Método StoredProcedureEvent.Add

Returns the stored procedure event set that is created when two stored procedure events are added together.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared Function Add ( _
    eventLeft As StoredProcedureEvent, _
    eventRight As StoredProcedureEvent _
) As StoredProcedureEventSet
'Uso
Dim eventLeft As StoredProcedureEvent 
Dim eventRight As StoredProcedureEvent 
Dim returnValue As StoredProcedureEventSet 

returnValue = StoredProcedureEvent.Add(eventLeft, _
    eventRight)
public static StoredProcedureEventSet Add(
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ Add(
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
static member Add : 
        eventLeft:StoredProcedureEvent * 
        eventRight:StoredProcedureEvent -> StoredProcedureEventSet
public static function Add(
    eventLeft : StoredProcedureEvent, 
    eventRight : StoredProcedureEvent
) : StoredProcedureEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of two stored procedures that are created when two events were added together.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

StoredProcedureEvent Classe

Namespace Microsoft.SqlServer.Management.Smo