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