Add-Methode (ObjectEvent)
Adds an ObjectEvent object to the ObjectEventSet object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function Add ( _
anEvent As ObjectEvent _
) As ObjectEventSet
'Usage
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
Parameter
- anEvent
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEvent
An ObjectEvent object that is added to the ObjectEventSet object.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that contains the added ObjectEvent object.
Siehe auch