共用方式為


Add 方法

Adds a database data definition language (DDL) trigger to a table.

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

語法

'宣告
Public Sub Add ( _
    databaseDdlTrigger As DatabaseDdlTrigger _
)
'用途
Dim instance As DatabaseDdlTriggerCollection
Dim databaseDdlTrigger As DatabaseDdlTrigger

instance.Add(databaseDdlTrigger)
public void Add(
    DatabaseDdlTrigger databaseDdlTrigger
)
public:
void Add(
    DatabaseDdlTrigger^ databaseDdlTrigger
)
member Add : 
        databaseDdlTrigger:DatabaseDdlTrigger -> unit 
public function Add(
    databaseDdlTrigger : DatabaseDdlTrigger
)

參數