Metoda ViewEventSet.Add (ViewEvent)
Dodaje ViewEvent obiektu, aby ViewEventSet obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Function Add ( _
anEvent As ViewEvent _
) As ViewEventSet
'Użycie
Dim instance As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet
returnValue = instance.Add(anEvent)
public ViewEventSet Add(
ViewEvent anEvent
)
public:
ViewEventSet^ Add(
ViewEvent^ anEvent
)
member Add :
anEvent:ViewEvent -> ViewEventSet
public function Add(
anEvent : ViewEvent
) : ViewEventSet
Parametry
- anEvent
Typ: Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent obiekt, który jest dodawany do ViewEventSet obiektu.
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet obiekt zawierający dodano ViewEvent obiektu.
Zobacz także