The following table describes the code values that users may get following completion of the stored procedure.
|
Return code
|
Description
|
| 0 | No error. |
| 1 | Unknown error. |
| 8 | The specified Status is not valid. |
| 9 | The specified Trace Handle is not valid. |
| 13 | Out of memory. Returned when there is not enough memory to perform the specified action. |
If the trace is already in the state specified, SQL Server will return 0.