Remove 方法

Removes an event from the event set.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function Remove ( _
    anEvent As ObjectEvent _
) As ObjectEventSet
用法
Dim instance As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet

returnValue = instance.Remove(anEvent)
public ObjectEventSet Remove(
    ObjectEvent anEvent
)
public:
ObjectEventSet^ Remove(
    ObjectEvent^ anEvent
)
member Remove : 
        anEvent:ObjectEvent -> ObjectEventSet 
public function Remove(
    anEvent : ObjectEvent
) : ObjectEventSet

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that represents the object event set.