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)
Syntax
'Declaration
Protected Function BindShort ( _
parameterName As String, _
parameterValue As Short _
) As SqlParameter
protected SqlParameter BindShort(
string parameterName,
short parameterValue
)
protected:
SqlParameter^ BindShort(
String^ parameterName,
short parameterValue
)
member BindShort :
parameterName:string *
parameterValue:int16 -> SqlParameter
protected function BindShort(
parameterName : String,
parameterValue : short
) : SqlParameter
Parameters
parameterName
Type: System.StringName of the parameter in the statement
parameterValue
Type: System.Int16Value 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
- 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.