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.StringName of the parameter in the statement.
- dbType
Type: System.Data.SqlDbType
Return Value
Type: System.Data.SqlClient.SqlParameter
The newly created and initialized [sqlparameter].
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.