TeamFoundationSqlResourceComponent.BindInt Method
A helper function that handles binding a 32-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 BindInt ( _
parameterName As String, _
parameterValue As Integer _
) As SqlParameter
protected SqlParameter BindInt(
string parameterName,
int parameterValue
)
protected:
SqlParameter^ BindInt(
String^ parameterName,
int parameterValue
)
member BindInt :
parameterName:string *
parameterValue:int -> SqlParameter
protected function BindInt(
parameterName : String,
parameterValue : int
) : SqlParameter
Parameters
parameterName
Type: System.StringName of the parameter in the statement.
parameterValue
Type: System.Int32Value 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.