共用方式為


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

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that represents the view event set.

範例

處理 SMO 事件

請參閱

參考

ViewEventSet 類別

Microsoft.SqlServer.Management.Smo 命名空間