TeamFoundationTableValueParameter<T>.SetString Method
Sets the value of a specific column to the specified string. The [bindBehavior] indicates how nulls and empty strings are transformed, if at all.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetString ( _
record As SqlDataRecord, _
ordinal As Integer, _
value As String, _
bindBehavior As BindStringBehavior _
)
public void SetString(
SqlDataRecord record,
int ordinal,
string value,
BindStringBehavior bindBehavior
)
public:
void SetString(
SqlDataRecord^ record,
int ordinal,
String^ value,
BindStringBehavior bindBehavior
)
member SetString :
record:SqlDataRecord *
ordinal:int *
value:string *
bindBehavior:BindStringBehavior -> unit
public function SetString(
record : SqlDataRecord,
ordinal : int,
value : String,
bindBehavior : BindStringBehavior
)
Parameters
- record
Type: Microsoft.SqlServer.Server.SqlDataRecord
- ordinal
Type: System.Int32
- value
Type: System.String
- bindBehavior
Type: Microsoft.TeamFoundation.Framework.Server.BindStringBehavior
.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.