InterpretationError.CreateErrorForMissingArgument Method
Creates an interpretation error for a MissingArgument error.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Shared Function CreateErrorForMissingArgument ( _
fragment As TSqlFragment, _
argumentName As String _
) As InterpretationError
'Usage
Dim fragment As TSqlFragment
Dim argumentName As String
Dim returnValue As InterpretationError
returnValue = InterpretationError.CreateErrorForMissingArgument(fragment, _
argumentName)
public static InterpretationError CreateErrorForMissingArgument(
TSqlFragment fragment,
string argumentName
)
public:
static InterpretationError^ CreateErrorForMissingArgument(
TSqlFragment^ fragment,
String^ argumentName
)
public static function CreateErrorForMissingArgument(
fragment : TSqlFragment,
argumentName : String
) : InterpretationError
static member CreateErrorForMissingArgument :
fragment:TSqlFragment *
argumentName:string -> InterpretationError
Parameters
- fragment
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The fragment
- argumentName
Type: System.String
The argument name associated with the error
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.