ITriggerFactory.CreateDmlTrigger Method
Creates an IMutableDmlTrigger object that has the specified name.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function CreateDmlTrigger ( _
parent As ITableViewBase, _
name As String _
) As IMutableDmlTrigger
'Usage
Dim instance As ITriggerFactory
Dim parent As ITableViewBase
Dim name As String
Dim returnValue As IMutableDmlTrigger
returnValue = instance.CreateDmlTrigger(parent, _
name)
IMutableDmlTrigger CreateDmlTrigger(
ITableViewBase parent,
string name
)
IMutableDmlTrigger^ CreateDmlTrigger(
ITableViewBase^ parent,
String^ name
)
abstract CreateDmlTrigger :
parent:ITableViewBase *
name:string -> IMutableDmlTrigger
function CreateDmlTrigger(
parent : ITableViewBase,
name : String
) : IMutableDmlTrigger
Parameters
- parent
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ITableViewBase
The object that is the parent of the trigger.
- name
Type: System.String
The name of the trigger to create.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDmlTrigger
An IMutableDmlTrigger object.
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace