TeamFoundationSqlResourceComponent.BindShort Method

This is a helper function that handles binding 16 bit value to their sqlparameters.

Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)


Protected Function BindShort ( _
    parameterName As String, _
    parameterValue As Short _
) As SqlParameter
protected SqlParameter BindShort(
    string parameterName,
    short parameterValue
SqlParameter^ BindShort(
    String^ parameterName, 
    short parameterValue
member BindShort : 
        parameterName:string * 
        parameterValue:int16 -> SqlParameter
protected function BindShort(
    parameterName : String, 
    parameterValue : short
) : SqlParameter


  • parameterName
    Type: System.String

    Name of the parameter in the statement

  • parameterValue
    Type: System.Int16

    Value of the parameter. Empty string gives you a NULL value if NULLs are allowed

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