Share via


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

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDmlTrigger
An IMutableDmlTrigger object.

See Also

Reference

ITriggerFactory Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace