TeamFoundationSqlResourceComponent.BindDefault Method
A helper function that handles binding a value to default type.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function BindDefault ( _
parameterName As String, _
parameterValue As Object _
) As SqlParameter
protected SqlParameter BindDefault(
string parameterName,
Object parameterValue
)
protected:
SqlParameter^ BindDefault(
String^ parameterName,
Object^ parameterValue
)
member BindDefault :
parameterName:string *
parameterValue:Object -> SqlParameter
protected function BindDefault(
parameterName : String,
parameterValue : Object
) : SqlParameter
Parameters
parameterName
Type: System.StringName of the parameter in the statement.
parameterValue
Type: System.ObjectValue 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.