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.