DatabaseEventSet.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.