Metodo ObjectEventSet.Add (ObjectEvent)
Adds an ObjectEvent object to the ObjectEventSet object.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function Add ( _
anEvent As ObjectEvent _
) As ObjectEventSet
'Utilizzo
Dim instance As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = instance.Add(anEvent)
public ObjectEventSet Add(
ObjectEvent anEvent
)
public:
ObjectEventSet^ Add(
ObjectEvent^ anEvent
)
member Add :
anEvent:ObjectEvent -> ObjectEventSet
public function Add(
anEvent : ObjectEvent
) : ObjectEventSet
Parametri
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that is added to the ObjectEventSet object.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that contains the added ObjectEvent object.