Поделиться через


Свойство OnFailure

Gets or sets the action taken when the audit fails.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property OnFailure As OnFailureAction
    Get
    Set
'Применение
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)

Значение свойства

Тип 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.