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
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the event.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object that represents the service queue event set.