ServerDdlTriggerCollection.Add Method
Adds a DDL trigger to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
serverDdlTrigger As ServerDdlTrigger _
)
'Usage
Dim instance As ServerDdlTriggerCollection
Dim serverDdlTrigger As ServerDdlTrigger
instance.Add(serverDdlTrigger)
public void Add(
ServerDdlTrigger serverDdlTrigger
)
public:
void Add(
ServerDdlTrigger^ serverDdlTrigger
)
member Add :
serverDdlTrigger:ServerDdlTrigger -> unit
public function Add(
serverDdlTrigger : ServerDdlTrigger
)
Parameters
- serverDdlTrigger
Type: Microsoft.SqlServer.Management.Smo.ServerDdlTrigger
DatabaseDdlTrigger