Compartir a través de


StoredProcedureEvent.Add Method

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Shared Function Add ( _
    eventLeft As StoredProcedureEvent, _
    eventRight As StoredProcedureEvent _
) As StoredProcedureEventSet
public static StoredProcedureEventSet Add (
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ Add (
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
public static StoredProcedureEventSet Add (
    StoredProcedureEvent eventLeft, 
    StoredProcedureEvent eventRight
)
public static function Add (
    eventLeft : StoredProcedureEvent, 
    eventRight : StoredProcedureEvent
) : StoredProcedureEventSet

Parámetros

  • eventRight
    A StoredProcedureEvent object that specifies another stored procedure event.

Valor devuelto

A StoredProcedureEventSet object value that specifies a set of two stored procedures that are created when two events were added together.

Notas

Texto actualizado:

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

StoredProcedureEvent Class
StoredProcedureEvent Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Handling SMO Events