InterpretationError.CreateErrorForInvalidArgument Method

Creates an interpretation error for an InvalidArgument error.

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

Syntax

'Declaration
Public Shared Function CreateErrorForInvalidArgument ( _
    fragment As TSqlFragment, _
    argumentName As String _
) As InterpretationError
'Usage
Dim fragment As TSqlFragment
Dim argumentName As String
Dim returnValue As InterpretationError

returnValue = InterpretationError.CreateErrorForInvalidArgument(fragment, _
    argumentName)
public static InterpretationError CreateErrorForInvalidArgument(
    TSqlFragment fragment,
    string argumentName
)
public:
static InterpretationError^ CreateErrorForInvalidArgument(
    TSqlFragment^ fragment, 
    String^ argumentName
)
public static function CreateErrorForInvalidArgument(
    fragment : TSqlFragment, 
    argumentName : String
) : InterpretationError
static member CreateErrorForInvalidArgument : 
        fragment:TSqlFragment * 
        argumentName:string -> InterpretationError 

Parameters

  • argumentName
    Type: System.String
    The argument name associated with the error

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