GetDateTimeOffset Method
Collapse the table of content
Expand the table of content

SqlDataRecord.GetDateTimeOffset Method (Int32)


Returns the specified column’s data as a DateTimeOffset.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public virtual DateTimeOffset GetDateTimeOffset(
	int ordinal


Type: System.Int32

The zero-based column ordinal.

Return Value

Type: System.DateTimeOffset

The value of the specified column as a DateTimeOffset.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft