Aracılığıyla paylaş


ServerDdlTrigger.AssemblyName Property

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.

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcReferenceAttribute(GetType(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = 'master']/SqlAssembly[@Name = '{1}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property AssemblyName As String
    Get
    Set
'Kullanım
Dim instance As ServerDdlTrigger
Dim value As String

value = instance.AssemblyName

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

Property Value

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

Examples

Creating, Altering, and Removing Triggers

See Also

Reference

ServerDdlTrigger Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DDL Triggers

CREATE TRIGGER (Transact-SQL)