Compartilhar via


Argument.FromInt16 Method

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

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
Public Shared Function FromInt16 ( _
    val As Short _
) As Argument
public static Argument FromInt16 (
    short val
)
public:
static Argument^ FromInt16 (
    short val
)
public static Argument FromInt16 (
    short val
)
public static function FromInt16 (
    val : short
) : Argument

Parameters

  • val
    The Int16 value to convert.

Return Value

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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