ViewEventSet.Remove 方法
Removes an event from the event set.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function Remove ( _
anEvent As ViewEvent _
) As ViewEventSet
'用途
Dim instance As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet
returnValue = instance.Remove(anEvent)
public ViewEventSet Remove(
ViewEvent anEvent
)
public:
ViewEventSet^ Remove(
ViewEvent^ anEvent
)
member Remove :
anEvent:ViewEvent -> ViewEventSet
public function Remove(
anEvent : ViewEvent
) : ViewEventSet
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that specifies the event.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that represents the view event set.