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