ObjectEventSet.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
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo.ObjectEvent
A ObjectEvent object that specifies the event.to be removed.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that represents the object event set.