문서를 영문으로 보려면 영문 확인란을 선택하세요. 마우스 포인터를 텍스트 위로 이동시켜 팝업 창에서 영문 텍스트를 표시할 수도 있습니다.
번역
영문
Visual Studio 2017을 사용하는 것이 좋습니다.

DatabaseDdlTrigger 생성자 (Database, String, DatabaseDdlTriggerEventSet, String, String, String)

Initializes a new instance of the DatabaseDdlTrigger class on the specified database with the specified name. The trigger responds to the specified event set and runs the specified batch.

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

public DatabaseDdlTrigger(
	Database parent,
	string name,
	DatabaseDdlTriggerEventSet events,
	string assemblyName,
	string className,
	string method
)

매개 변수

parent
유형: Microsoft.SqlServer.Management.Smo.Database
A Database object value that specifies the parent of the DatabaseDdlTrigger object.
name
유형: System.String
A String value that specifies the name of the database data definition language (DDL) trigger.
events
유형: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object that specifies the DDL events to which the DDL trigger responds.
assemblyName
유형: System.String
A String value that specifies the name of the registered assembly that contains the user-defined function that runs when the DDL trigger is raised.
className
유형: System.String
A String value that specifies the name of the class in the registered assembly.
method
유형: System.String
A String value that specifies the method within the class that runs when the DDL trigger is raised.

커뮤니티 추가 항목

추가
표시: