Audit.OnFailure Property
Gets or sets the action taken when the audit fails.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute> _
Public Property OnFailure As OnFailureAction
Get
Set
'Usage
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)
Property Value
Type: 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.