共用方式為


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.