SqlColumnBinder.GetTimeSpan Method (SqlDataReader, TimeSpan, TimeSpan)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetTimeSpan ( _
reader As SqlDataReader, _
nullValue As TimeSpan, _
missingColumnValue As TimeSpan _
) As TimeSpan
public TimeSpan GetTimeSpan(
SqlDataReader reader,
TimeSpan nullValue,
TimeSpan missingColumnValue
)
public:
TimeSpan GetTimeSpan(
SqlDataReader^ reader,
TimeSpan nullValue,
TimeSpan missingColumnValue
)
member GetTimeSpan :
reader:SqlDataReader *
nullValue:TimeSpan *
missingColumnValue:TimeSpan -> TimeSpan
public function GetTimeSpan(
reader : SqlDataReader,
nullValue : TimeSpan,
missingColumnValue : TimeSpan
) : TimeSpan
Parameters
- reader
Type: System.Data.SqlClient.SqlDataReader
- nullValue
Type: System.TimeSpan
- missingColumnValue
Type: System.TimeSpan
Return Value
Type: System.TimeSpan
Returns TimeSpan.
.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.