InternalRaiseError Procedure (Repository Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

An infrastructure routine that formats an error string with the provided values and then raises a SQL Server error with the formatted message.

[Repository].[InternalRaiseError] ( @message, @folder, @item0, @item1, @item2, @item3, @item4, @item5, @item6, @item7, @item8, @item9, @logError, @severity )

Arguments

@message

Type: [System.Globalization].[StringId]. A reference to an existing error message template string. Each parameter to replace is an incrementing value in braces. The beginning value is "{0}".

@folder

Type: int. The Modeling Services Folder associated with the error message template string.

@item0

Type: nvarchar(max). The first optional string value to replace in the error message template string.

@item1

Type: nvarchar(max). The second optional string value to replace in the error message template string.

@item2

Type: nvarchar(max). The third optional string value to replace in the error message template string.

@item3

Type: nvarchar(max). The fourth optional string value to replace in the error message template string.

@item4

Type: nvarchar(max). The fifth optional string value to replace in the error message template string.

@item5

Type: nvarchar(max). The sixth optional string value to replace in the error message template string.

@item6

Type: nvarchar(max). The seventh optional string value to replace in the error message template string.

@item7

Type: nvarchar(max). The eighth optional string value to replace in the error message template string.

@item8

Type: nvarchar(max). The ninth optional string value to replace in the error message template string.

@item9

Type: nvarchar(max). The tenth optional string value to replace in the error message template string.

@logError

Type: bit. A bit flag that indicates if the error should be logged in the SQL Server error log. If set to 1, the caller must have the ALTER TRACE permission.

@severity

Type: int. The SQL Server error severity for this error.

Remarks

See Also

Reference

Repository Procedures
Repository Schema

Send comments about this topic to Microsoft.