共用方式為


Remove 方法 (Trigger)

Removes a Trigger object from the TriggerCollection object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Remove ( _
    trigger As Trigger _
)
'用途
Dim instance As TriggerCollection
Dim trigger As Trigger

instance.Remove(trigger)
public void Remove(
    Trigger trigger
)
public:
void Remove(
    Trigger^ trigger
)
member Remove : 
        trigger:Trigger -> unit 
public function Remove(
    trigger : Trigger
)

範例

使用集合