SqlMoney.FromTdsValue(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SqlMoney class with the specified Tabular Data Stream (TDS) long value.
public:
static System::Data::SqlTypes::SqlMoney FromTdsValue(long value);
public static System.Data.SqlTypes.SqlMoney FromTdsValue (long value);
static member FromTdsValue : int64 -> System.Data.SqlTypes.SqlMoney
Public Shared Function FromTdsValue (value As Long) As SqlMoney
Parameters
- value
- Int64
The TDS long representation of the monetary value to initialize.
Returns
A new SqlMoney structure whose Value property is equal to the TDS value of the Int64 parameter.
Remarks
This method creates the SqlMoney structure object directly from the Tabular Data Stream (TDS) long value passed, without making a copy of it.