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 |
|
| SQLDMOAudit_Failure | 2 | Authentication failed | |
| SQLDMOAudit_None | 0 | Not evaluated | |
| SQLDMOAudit_Success | 1 | Authentication succeeded | |