SqlCeError.ErrorParameters Property

Gets the last three error parameters. Error parameters are used by SQL Server Compact to provide additional details about an error.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorParameters As String()
    Get
'Usage
Dim instance As SqlCeError
Dim value As String()

value = instance.ErrorParameters
public string[] ErrorParameters { get; }
public:
property array<String^>^ ErrorParameters {
    array<String^>^ get ();
}
member ErrorParameters : string[]
function get ErrorParameters () : String[]

Property Value

Type: array<System.String[]
A string array that contains the last three error parameters.

Remarks

Although parameters might exist for an error, not all occurrences of the error will return parameters. If an occurrence of an error does not return any parameters, the values of this array will be empty strings.

For more information about specific SQL Server Compact errors, see "SQL Server Compact Errors" in the Troubleshooting section of SQL Server Compact Books Online.

See Also

Reference

SqlCeError Class

System.Data.SqlServerCe Namespace