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.