Udostępnij za pośrednictwem


Właściwość DropServerAudit

Pobiera lub ustawia Boolean wartości właściwość, który określa, czy zdarzenie jest uwzględniany w zestaw zdarzeń. Zdarzenie występuje, gdy serwer autoryzacja jest zmieniony.

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

Syntax

'Deklaracja
Public Property DropServerAudit As Boolean
    Get
    Set
'Użycie
Dim instance As ServerDdlTriggerEventSet
Dim value As Boolean

value = instance.DropServerAudit

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

Wartość właściwości

Typ: System. . :: . .Boolean
A Boolean wartość określająca, czy DropServerAudit zdarzenie jest uwzględniane w przypadku zestaw.
W przypadku wartości True zdarzenie jest uzględniane w zbiorze zdarzeń.
Jeśli False (domyślnie), zdarzenie nie dołączono zestaw zdarzeń.