ServerDdlTriggerEventSet.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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間