Delen via


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.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

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace