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)


Protected Function BindDefault ( _
    parameterName As String, _
    parameterValue As Object _
) As SqlParameter
protected SqlParameter BindDefault(
    string parameterName,
    Object parameterValue
SqlParameter^ BindDefault(
    String^ parameterName, 
    Object^ parameterValue
member BindDefault : 
        parameterName:string * 
        parameterValue:Object -> SqlParameter
protected function BindDefault(
    parameterName : String, 
    parameterValue : Object
) : SqlParameter


  • parameterName
    Type: System.String

    Name of the parameter in the statement.

Return Value

Type: System.Data.SqlClient.SqlParameter
The newly created and initialized [sqlparameter].

.NET Framework Security

See Also


TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace