Compartir a través de


OnFailure Propiedad

Gets or sets the action taken when the audit fails.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property OnFailure As OnFailureAction
    Get
    Set
'Uso
Dim instance As Audit
Dim value As OnFailureAction

value = instance.OnFailure

instance.OnFailure = value
[SfcPropertyAttribute]
public OnFailureAction OnFailure { get; set; }
[SfcPropertyAttribute]
public:
property OnFailureAction OnFailure {
    OnFailureAction get ();
    void set (OnFailureAction value);
}
[<SfcPropertyAttribute>]
member OnFailure : OnFailureAction with get, set
function get OnFailure () : OnFailureAction
function set OnFailure (value : OnFailureAction)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .OnFailureAction
A OnFailureAction value that specifies the type of action taken after the audit fails, such as whether to continue or to shut down the system.