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)


Protected Function BindNullableShort ( _
    parameterName As String, _
    parameterValue As Short, _
    nullValue As Short _
) As SqlParameter
protected SqlParameter BindNullableShort(
    string parameterName,
    short parameterValue,
    short nullValue
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


  • parameterName
    Type: System.String

    Name of the parameter in the statement

Return Value

Type: System.Data.SqlClient.SqlParameter
The newly created and initialized sqlparameter

.NET Framework Security

See Also


TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace