DatabaseDdlTriggerCollection.Add Method
Adds a database data definition language (DDL) trigger to a table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
databaseDdlTrigger As DatabaseDdlTrigger _
)
'Usage
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
)
Parameters
- databaseDdlTrigger
Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTrigger
DatabaseDdlTrigger object represents a Microsoft SQL Server database data definition language (DDL) trigger