This documentation is archived and is not being maintained.

SqlMoney.ToSqlDecimal Method

Converts this SqlMoney structure to SqlDecimal.

[Visual Basic]
Public Function ToSqlDecimal() As SqlDecimal
[C#]
public SqlDecimal ToSqlDecimal();
[C++]
public: SqlDecimal ToSqlDecimal();
[JScript]
public function ToSqlDecimal() : SqlDecimal;

Return Value

A new SqlDecimal structure whose Value equals 1 if the SqlMoney structure's Value was true; otherwise the Value of the new SqlDecimal structure is 0.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlMoney Structure | SqlMoney Members | System.Data.SqlTypes Namespace

Show: