Delen via


TeamFoundationSqlResourceComponent.BindByte Method (String, Byte)

A helper function that handles binding an 8-bit value to its sqlparameters.

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

Syntax

'Declaration
Protected Function BindByte ( _
    parameterName As String, _
    parameterValue As Byte _
) As SqlParameter
protected SqlParameter BindByte(
    string parameterName,
    byte parameterValue
)
protected:
SqlParameter^ BindByte(
    String^ parameterName, 
    unsigned char parameterValue
)
member BindByte : 
        parameterName:string * 
        parameterValue:byte -> SqlParameter
protected function BindByte(
    parameterName : String, 
    parameterValue : byte
) : SqlParameter

Parameters

  • parameterName
    Type: System.String

    Name of the parameter in the statement.

  • parameterValue
    Type: System.Byte

    Value of the parameter.

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

BindByte Overload

Microsoft.TeamFoundation.Framework.Server Namespace