Método Add (SqlAssemblyEvent)
Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEvent
A SqlAssemblyEvent object that is added to the SqlAssemblyEventSet object.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
A SqlAssemblyEventSet object that contains the added SqlAssemblyEvent object.
Consulte também