TeamFoundationSqlResourceComponent.BindNullableShort Method
If parameterValue == nullValue, a NULL is bound to the given parameter. Otherwise, parameterValue is bound as a 16-bit integer
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function BindNullableShort ( _
parameterName As String, _
parameterValue As Short, _
nullValue As Short _
) As SqlParameter
protected SqlParameter BindNullableShort(
string parameterName,
short parameterValue,
short nullValue
)
protected:
SqlParameter^ BindNullableShort(
String^ parameterName,
short parameterValue,
short nullValue
)
member BindNullableShort :
parameterName:string *
parameterValue:int16 *
nullValue:int16 -> SqlParameter
protected function BindNullableShort(
parameterName : String,
parameterValue : short,
nullValue : short
) : SqlParameter
Parameters
parameterName
Type: System.StringName of the parameter in the statement
parameterValue
Type: System.Int16Value of the parameter
nullValue
Type: System.Int16Value to consider null
Return Value
Type: System.Data.SqlClient.SqlParameter
The newly created and initialized sqlparameter
.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.