Share via


ITriggerFactory.CreateDmlTrigger Method (String)

Note: This API is now obsolete.

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
<ObsoleteAttribute("This method is not longer supported.", True)> _
Function CreateDmlTrigger ( _
    name As String _
) As IMutableDmlTrigger
'Usage
Dim instance As ITriggerFactory
Dim name As String
Dim returnValue As IMutableDmlTrigger

returnValue = instance.CreateDmlTrigger(name)
[ObsoleteAttribute("This method is not longer supported.", true)]
IMutableDmlTrigger CreateDmlTrigger(
    string name
)
[ObsoleteAttribute(L"This method is not longer supported.", true)]
IMutableDmlTrigger^ CreateDmlTrigger(
    String^ name
)
[<ObsoleteAttribute("This method is not longer supported.", true)>]
abstract CreateDmlTrigger : 
        name:string -> IMutableDmlTrigger 
function CreateDmlTrigger(
    name : String
) : IMutableDmlTrigger

Parameters

  • name
    Type: System.String
    The name of the trigger object to create.