InterpretationError.CreateGeneralInterpretationWarning Method
Creates a new interpretation error instance with a severity value of Warning.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Shared Function CreateGeneralInterpretationWarning ( _
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.CreateGeneralInterpretationWarning(fragment, _
errorCode, errorMessage)
public static InterpretationError CreateGeneralInterpretationWarning(
TSqlFragment fragment,
int errorCode,
string errorMessage
)
public:
static InterpretationError^ CreateGeneralInterpretationWarning(
TSqlFragment^ fragment,
int errorCode,
String^ errorMessage
)
public static function CreateGeneralInterpretationWarning(
fragment : TSqlFragment,
errorCode : int,
errorMessage : String
) : InterpretationError
static member CreateGeneralInterpretationWarning :
fragment:TSqlFragment *
errorCode:int *
errorMessage:string -> InterpretationError
Parameters
- fragment
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The fragment
- errorCode
Type: System.Int32
The error code
- errorMessage
Type: System.String
The error message
Return Value
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.InterpretationError
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.