Udostępnij za pośrednictwem


Właściwość ServerEventSet.AlterMasterKey

Pobiera lub zestaws wartość właściwość logiczna, która określa, czy zdarzenie jest włączone w przypadku zestaw.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Property AlterMasterKey As Boolean
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.Boolean
A Boolean obiekt reprezentujący Jeśli AlterMasterKey znajduje się serwer zdarzenie zestaw.
W przypadku wartości True zdarzenie jest uzględniane w zbiorze zdarzeń.
Jeśli False, zdarzenie nie jest dołączony zestaw zdarzeń.