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