ServerDdlTrigger.AssemblyName プロパティ

データ定義言語 (DDL) トリガーが発生したときに実行されるマネージ コードを含むアセンブリの名前を取得または設定します。

この API は、CLS に準拠していません。 

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

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

value = instance.AssemblyName

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

プロパティ値

型: System.String
アセンブリの名前を示す String 値です。

使用例

トリガーの作成、変更、および削除

関連項目

参照

ServerDdlTrigger クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

DDL トリガー

CREATE TRIGGER (Transact-SQL)