Метод 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.