ServiceQueueEventSet.Remove 方法

Removes an event from the event set.

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

语法

声明
Public Function Remove ( _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
用法
Dim instance As ServiceQueueEventSet 
Dim anEvent As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = instance.Remove(anEvent)
public ServiceQueueEventSet Remove(
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet^ Remove(
    ServiceQueueEvent^ anEvent
)
member Remove : 
        anEvent:ServiceQueueEvent -> ServiceQueueEventSet
public function Remove(
    anEvent : ServiceQueueEvent
) : ServiceQueueEventSet

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object that represents the service queue event set.

示例

处理 SMO 事件

请参阅

参考

ServiceQueueEventSet 类

Microsoft.SqlServer.Management.Smo 命名空间