共用方式為


Argument.FromString Method

Converts a String 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 FromString ( _
    val As String _
) As Argument
public static Argument FromString (
    string val
)
public:
static Argument^ FromString (
    String^ val
)
public static Argument FromString (
    String val
)
public static function FromString (
    val : String
) : Argument

參數

  • val
    The String value to convert.

傳回值

An Argument that is a ConstantValue representation of the String 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