Explicit Conversion (SqlDecimal to SqlInt64)

SqlInt64 Explicit Conversion (SqlDecimal to SqlInt64)


Converts the supplied SqlDecimal parameter to SqlInt64.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static explicit operator SqlInt64 (
	SqlDecimal x


Type: System.Data.SqlTypes.SqlDecimal

The SqlDecimal structure to be converted.

Return Value

Type: System.Data.SqlTypes.SqlInt64

A new SqlInt64 structure whose Value is equal to the integer part of the SqlDecimal parameter.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft