IParameterFactory.CreateScalarParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateScalarParameter(String, IScalarDataType) | |
CreateScalarParameter(String, IScalarDataType, Boolean, String) |
CreateScalarParameter(String, IScalarDataType)
public Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarParameter CreateScalarParameter (string name, Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType dataType);
abstract member CreateScalarParameter : string * Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType -> Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarParameter
Public Function CreateScalarParameter (name As String, dataType As IScalarDataType) As IScalarParameter
Parameters
- name
- String
- dataType
- IScalarDataType
Returns
Applies to
CreateScalarParameter(String, IScalarDataType, Boolean, String)
public Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarParameter CreateScalarParameter (string name, Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType dataType, bool isOutput, string defaultValue);
abstract member CreateScalarParameter : string * Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType * bool * string -> Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarParameter
Public Function CreateScalarParameter (name As String, dataType As IScalarDataType, isOutput As Boolean, defaultValue As String) As IScalarParameter
Parameters
- name
- String
- dataType
- IScalarDataType
- isOutput
- Boolean
- defaultValue
- String