Argument.FromBoolean Method
Converts a Boolean value to an instance of the Argument class.
Spazio dei nomi: Microsoft.SqlServer.NotificationServices.Rules
Assembly : Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)
Sintassi
'Dichiarazione
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
Parametri
- val
The Boolean value to convert.
Valore restituito
A Argument that is a ConstantValue representation of the Boolean 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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
Argument Class
Argument Members
Microsoft.SqlServer.NotificationServices.Rules Namespace