TeamFoundationSqlResourceComponent.BindDateTime Method

A helper function that handles binding a date/time value to a [sqlparameter].

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


Protected Function BindDateTime ( _
    parameterName As String, _
    parameterValue As DateTime _
) As SqlParameter
protected SqlParameter BindDateTime(
    string parameterName,
    DateTime parameterValue
SqlParameter^ BindDateTime(
    String^ parameterName, 
    DateTime parameterValue
member BindDateTime : 
        parameterName:string * 
        parameterValue:DateTime -> SqlParameter
protected function BindDateTime(
    parameterName : String, 
    parameterValue : DateTime
) : 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