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 命名空间