Audit constants specify login authentication success or failure, and are used to set the AuditLevel property of the IntegratedSecurity object.
| Constant | Value | Description |
|---|---|---|
| SQLDMOAudit_All | 3 | SQLDMOAudit_Success and SQLDMOAudit_Failure combined by using an OR logical operator |
| SQLDMOAudit_Failure | 2 | Authentication failed |
| SQLDMOAudit_None | 0 | Not evaluated |
| SQLDMOAudit_Success | 1 | Authentication succeeded |