SqlColumnBinder.GetTimeSpan Method (SqlDataReader, 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 _
) As TimeSpan
public TimeSpan GetTimeSpan(
SqlDataReader reader,
TimeSpan nullValue
)
public:
TimeSpan GetTimeSpan(
SqlDataReader^ reader,
TimeSpan nullValue
)
member GetTimeSpan :
reader:SqlDataReader *
nullValue:TimeSpan -> TimeSpan
public function GetTimeSpan(
reader : SqlDataReader,
nullValue : TimeSpan
) : TimeSpan
Parameters
- reader
Type: System.Data.SqlClient.SqlDataReader
- nullValue
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.