ITriggerFactory.CreateDatabaseDdlTrigger 메서드

Creates an IMutableDatabaseDdlTrigger object that belongs to the specified IDatabase object and has the specified name.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)


Function CreateDatabaseDdlTrigger ( _
    database As IDatabase, _
    name As String _
) As IMutableDatabaseDdlTrigger
‘사용 방법
Dim instance As ITriggerFactory 
Dim database As IDatabase 
Dim name As String 
Dim returnValue As IMutableDatabaseDdlTrigger 

returnValue = instance.CreateDatabaseDdlTrigger(database, _
IMutableDatabaseDdlTrigger CreateDatabaseDdlTrigger(
    IDatabase database,
    string name
IMutableDatabaseDdlTrigger^ CreateDatabaseDdlTrigger(
    IDatabase^ database, 
    String^ name
abstract CreateDatabaseDdlTrigger : 
        database:IDatabase * 
        name:string -> IMutableDatabaseDdlTrigger
function CreateDatabaseDdlTrigger(
    database : IDatabase, 
    name : String
) : IMutableDatabaseDdlTrigger

매개 변수

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

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabaseDdlTrigger
An IMutableDmlTrigger object.

참고 항목


ITriggerFactory 인터페이스

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스