Delen via


TeamFoundationSqlResourceComponent.BindNullValue Method

This is a generic binding helper that builds a specific parameter typed null value.

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

Syntax

'Declaration
Protected Function BindNullValue ( _
    parameterName As String, _
    dbType As SqlDbType _
) As SqlParameter
protected SqlParameter BindNullValue(
    string parameterName,
    SqlDbType dbType
)
protected:
SqlParameter^ BindNullValue(
    String^ parameterName, 
    SqlDbType dbType
)
member BindNullValue : 
        parameterName:string * 
        dbType:SqlDbType -> SqlParameter
protected function BindNullValue(
    parameterName : String, 
    dbType : SqlDbType
) : 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