If parameterValue == nullValue, a NULL is bound to the given parameter. Otherwise, parameterValue is bound as a 32-bit integer.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function BindNullableInt ( _
    parameterName As String, _
    parameterValue As Integer, _
    nullValue As Integer _
) As SqlParameter
protected SqlParameter BindNullableInt(
    string parameterName,
    int parameterValue,
    int nullValue
)
protected:
SqlParameter^ BindNullableInt(
    String^ parameterName, 
    int parameterValue, 
    int nullValue
)
member BindNullableInt : 
        parameterName:string * 
        parameterValue:int * 
        nullValue:int -> SqlParameter
protected function BindNullableInt(
    parameterName : String, 
    parameterValue : int, 
    nullValue : int
) : SqlParameter
Parameters
- parameterName 
 Type: System.String- Name of the parameter in the statement. 
- parameterValue 
 Type: System.Int32- Value of the parameter. 
- nullValue 
 Type: System.Int32- Value to consider null. 
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.