Sdílet prostřednictvím


NumericErrorParameters Property

Gets the first three error parameters. Error parameters are used by 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 NumericErrorParameters As Integer()
    Get
'Usage
Dim instance As SqlCeError
Dim value As Integer()

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

Property Value

Type: array<System. . :: . .Int32> [] () [] []
An integer array that contains the first 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 0.

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

See Also

Reference

SqlCeError Class

SqlCeError Members

System.Data.SqlServerCe Namespace