Udostępnij przez


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

'Deklaracja
<SfcPropertyAttribute> _
Public Property OnFailure As OnFailureAction
[SfcPropertyAttribute] 
public OnFailureAction OnFailure { get; set; }
[SfcPropertyAttribute] 
public:
property OnFailureAction OnFailure {
    OnFailureAction get ();
    void set (OnFailureAction value);
}
/** @property */
public OnFailureAction get_OnFailure ()

/** @property */
public void set_OnFailure (OnFailureAction value)
public function get OnFailure () : OnFailureAction

public function set OnFailure (value : OnFailureAction)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.