Add 方法
Adds a Trigger object to the TriggerCollection object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
trigger As Trigger _
)
'用途
Dim instance As TriggerCollection
Dim trigger As Trigger
instance.Add(trigger)
public void Add(
Trigger trigger
)
public:
void Add(
Trigger^ trigger
)
member Add :
trigger:Trigger -> unit
public function Add(
trigger : Trigger
)
參數
- trigger
型別:Microsoft.SqlServer.Management.Smo. . :: . .Trigger
A Trigger object value that specifies the trigger to be removed from the TriggerCollection object.