TeamFoundationSqlResourceComponent.BindByte Method (String, Byte, Byte)
A helper function that handles binding an 8-bit value that might be null 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, _
nullValue As Byte _
) As SqlParameter
protected SqlParameter BindByte(
string parameterName,
byte parameterValue,
byte nullValue
)
protected:
SqlParameter^ BindByte(
String^ parameterName,
unsigned char parameterValue,
unsigned char nullValue
)
member BindByte :
parameterName:string *
parameterValue:byte *
nullValue:byte -> SqlParameter
protected function BindByte(
parameterName : String,
parameterValue : byte,
nullValue : byte
) : SqlParameter
Parameters
parameterName
Type: System.StringName of the parameter in the statement.
parameterValue
Type: System.ByteValue of the parameter.
nullValue
Type: System.ByteIf parameterValue == nullValue, a NULL is bound.
Return Value
Type: System.Data.SqlClient.SqlParameter
The newly created and initialized sqlparameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.