共用方式為


Remove 方法

Removes an event from the event set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function Remove ( _
    anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
'用途
Dim instance As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet

returnValue = instance.Remove(anEvent)
public StoredProcedureEventSet Remove(
    StoredProcedureEvent anEvent
)
public:
StoredProcedureEventSet^ Remove(
    StoredProcedureEvent^ anEvent
)
member Remove : 
        anEvent:StoredProcedureEvent -> StoredProcedureEventSet 
public function Remove(
    anEvent : StoredProcedureEvent
) : StoredProcedureEventSet

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that represents the stored procedure event set.