Share via


ServerEventSet.AlterMasterKey プロパティ

イベントがイベント セットに含まれるかどうかを示す Boolean プロパティ値を取得します。値の設定も可能です。

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

構文

'宣言
Public Property AlterMasterKey As Boolean 
    Get 
    Set
'使用
Dim instance As ServerEventSet 
Dim value As Boolean 

value = instance.AlterMasterKey

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

プロパティ値

型: System.Boolean
AlterMasterKey がサーバー イベント セットに含まれるかどうかを表す Boolean オブジェクト。 True の場合、イベントはイベント セットに含まれます。 False の場合、イベントはイベント セットに含まれません。

関連項目

参照

ServerEventSet クラス

Microsoft.SqlServer.Management.Smo 名前空間