InterpretationError.CreateGeneralInterpretationError Method

Creates a new interpretation error instance with a severity value of Error.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Shared Function CreateGeneralInterpretationError ( _
    fragment As TSqlFragment, _
    errorCode As Integer, _
    errorMessage As String _
) As InterpretationError
'Usage
Dim fragment As TSqlFragment
Dim errorCode As Integer
Dim errorMessage As String
Dim returnValue As InterpretationError

returnValue = InterpretationError.CreateGeneralInterpretationError(fragment, _
    errorCode, errorMessage)
public static InterpretationError CreateGeneralInterpretationError(
    TSqlFragment fragment,
    int errorCode,
    string errorMessage
)
public:
static InterpretationError^ CreateGeneralInterpretationError(
    TSqlFragment^ fragment, 
    int errorCode, 
    String^ errorMessage
)
public static function CreateGeneralInterpretationError(
    fragment : TSqlFragment, 
    errorCode : int, 
    errorMessage : String
) : InterpretationError
static member CreateGeneralInterpretationError : 
        fragment:TSqlFragment * 
        errorCode:int * 
        errorMessage:string -> InterpretationError 

Parameters

Return Value

Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.InterpretationError

.NET Framework Security

See Also

Reference

InterpretationError Class

InterpretationError Members

Microsoft.Data.Schema.Sql.SchemaModel.SqlServer Namespace