Compartir a través de


Add Método (SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function Add ( _
    anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Uso
Dim instance As SqlAssemblyEventSet
Dim anEvent As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet

returnValue = instance.Add(anEvent)
public SqlAssemblyEventSet Add(
    SqlAssemblyEvent anEvent
)
public:
SqlAssemblyEventSet^ Add(
    SqlAssemblyEvent^ anEvent
)
member Add : 
        anEvent:SqlAssemblyEvent -> SqlAssemblyEventSet 
public function Add(
    anEvent : SqlAssemblyEvent
) : SqlAssemblyEventSet

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
A SqlAssemblyEventSet object that contains the added SqlAssemblyEvent object.