다음을 통해 공유


DatabaseDdlTrigger.AssemblyName 속성

Gets or sets the name of the assembly that contains the managed code that is executed when the data definition language (DDL) trigger is raised.

이 API는 CLS 규격이 아닙니다. 

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
<SfcReferenceAttribute(GetType(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']",  _
    )> _
<CLSCompliantAttribute(False)> _
Public Property AssemblyName As String 
    Get 
    Set
‘사용 방법
Dim instance As DatabaseDdlTrigger 
Dim value As String 

value = instance.AssemblyName

instance.AssemblyName = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)]
[SfcReferenceAttribute(typeof(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']", 
    )]
[CLSCompliantAttribute(false)]
public string AssemblyName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Design)]
[SfcReferenceAttribute(typeof(SqlAssembly), L"Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']", 
    )]
[CLSCompliantAttribute(false)]
public:
property String^ AssemblyName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)>]
[<SfcReferenceAttribute(typeof(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']", 
    )>]
[<CLSCompliantAttribute(false)>]
member AssemblyName : string with get, set
function get AssemblyName () : String 
function set AssemblyName (value : String)

속성 값

유형: System.String
A String value that specifies the name of the assembly.

속성 설정

참고 항목

참조

DatabaseDdlTrigger 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE TRIGGER(Transact-SQL)

DDL 트리거