Delen via


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.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

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace