TeamFoundationTableValueParameter<T>.SetNullableDateTime Method
Sets the value of a specific column to the specified DateTime. If the value of the DateTime is MinValue, the function will bind null.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetNullableDateTime ( _
record As SqlDataRecord, _
ordinal As Integer, _
value As DateTime _
)
public void SetNullableDateTime(
SqlDataRecord record,
int ordinal,
DateTime value
)
public:
void SetNullableDateTime(
SqlDataRecord^ record,
int ordinal,
DateTime value
)
member SetNullableDateTime :
record:SqlDataRecord *
ordinal:int *
value:DateTime -> unit
public function SetNullableDateTime(
record : SqlDataRecord,
ordinal : int,
value : DateTime
)
Parameters
- record
Type: Microsoft.SqlServer.Server.SqlDataRecord
- ordinal
Type: System.Int32
- value
Type: System.DateTime
.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.