다음을 통해 공유


OnFailure 속성

Gets or sets the action taken when the audit fails.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.