Partager via


Argument.FromBoolean Method

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

Espace de noms: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntaxe

'Déclaration
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

Paramètres

  • val
    The Boolean value to convert.

Valeur de retour

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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