次の方法で共有


ServerDdlTriggerEventSet.GrantDatabase プロパティ

イベントがイベント セットに含まれるかどうかを示す Boolean プロパティ値を取得します。値の設定も可能です。 このイベントは、承認サーバーが変更されたときに発生します。

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

構文

'宣言
Public Property GrantDatabase As Boolean 
    Get 
    Set
'使用
Dim instance As ServerDdlTriggerEventSet 
Dim value As Boolean 

value = instance.GrantDatabase

instance.GrantDatabase = value
public bool GrantDatabase { get; set; }
public:
property bool GrantDatabase {
    bool get ();
    void set (bool value);
}
member GrantDatabase : bool with get, set
function get GrantDatabase () : boolean 
function set GrantDatabase (value : boolean)

プロパティ値

型: System.Boolean
GrantDatabase イベントがイベント セットに含まれるかどうかを示す Boolean 値です。 True の場合、イベントはイベント セットに含まれます。 False (既定値) の場合、イベントはイベント セットに含まれません。

関連項目

参照

ServerDdlTriggerEventSet クラス

Microsoft.SqlServer.Management.Smo 名前空間