Partager via


TeamFoundationSqlResourceComponent.BindDouble Method

This is a helper function that takes care of binding 32 bit value to their sqlparameters.

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

Syntax

'Declaration
Protected Function BindDouble ( _
    parameterName As String, _
    parameterValue As Double _
) As SqlParameter
protected SqlParameter BindDouble(
    string parameterName,
    double parameterValue
)
protected:
SqlParameter^ BindDouble(
    String^ parameterName, 
    double parameterValue
)
member BindDouble : 
        parameterName:string * 
        parameterValue:float -> SqlParameter
protected function BindDouble(
    parameterName : String, 
    parameterValue : double
) : SqlParameter

Parameters

  • parameterName
    Type: System.String

    Name of the parameter in the statement

  • parameterValue
    Type: System.Double

    Value of the parameter. Empty string results in a NULL value if NULLs are allowed

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace