Condividi tramite


TeamFoundationSqlResourceComponent.BindNullableBoolean Method

This is a helper function that takes care of binding boolean or a bit value to a sqlparameter.

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

Syntax

'Declaration
Protected Function BindNullableBoolean ( _
    parameterName As String, _
    parameterValue As Nullable(Of Boolean) _
) As SqlParameter
protected SqlParameter BindNullableBoolean(
    string parameterName,
    Nullable<bool> parameterValue
)
protected:
SqlParameter^ BindNullableBoolean(
    String^ parameterName, 
    Nullable<bool> parameterValue
)
member BindNullableBoolean : 
        parameterName:string * 
        parameterValue:Nullable<bool> -> SqlParameter
protected function BindNullableBoolean(
    parameterName : String, 
    parameterValue : Nullable<boolean>
) : SqlParameter

Parameters

  • parameterName
    Type: System.String

    Name of the parameter in the statement

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace