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)

protected SqlParameter BindNullValue(
	string parameterName,
	SqlDbType dbType
)

Parameters

parameterName
Type: System.String

Name of the parameter in the statement.

dbType
Type: System.Data.SqlDbType

Return Value

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

Show: