共用方式為


Argument.FromDecimal Method

Converts a Decimal value to an instance of the Argument class.

命名空間: Microsoft.SqlServer.NotificationServices.Rules
組件: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

語法

'宣告
Public Shared Function FromDecimal ( _
    val As Decimal _
) As Argument
public static Argument FromDecimal (
    decimal val
)
public:
static Argument^ FromDecimal (
    Decimal val
)
public static Argument FromDecimal (
    Decimal val
)
public static function FromDecimal (
    val : decimal
) : Argument

參數

  • val
    The Decimal value to convert.

傳回值

An Argument that is a ConstantValue representation of the Decimal value.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Argument Class
Argument Members
Microsoft.SqlServer.NotificationServices.Rules Namespace