Remove 方法
Removes an event from the event set.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function Remove ( _
anEvent As DatabaseEvent _
) As DatabaseEventSet
'用途
Dim instance As DatabaseEventSet
Dim anEvent As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = instance.Remove(anEvent)
public DatabaseEventSet Remove(
DatabaseEvent anEvent
)
public:
DatabaseEventSet^ Remove(
DatabaseEvent^ anEvent
)
member Remove :
anEvent:DatabaseEvent -> DatabaseEventSet
public function Remove(
anEvent : DatabaseEvent
) : DatabaseEventSet
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the event.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that represents the database event set.