Argument.FromBoolean Method

Converts a Boolean 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 FromBoolean ( _
    val As Boolean _
) As Argument
public static Argument FromBoolean (
    bool val
)
public:
static Argument^ FromBoolean (
    bool val
)
public static Argument FromBoolean (
    boolean val
)
public static function FromBoolean (
    val : boolean
) : Argument

Parameter

  • val
    The Boolean value to convert.

Rückgabewert

A Argument that is a ConstantValue representation of the Boolean value.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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