Condividi tramite


RuleValue.Rule Property

Gets or sets the RuleLogic instance embedded in this argument.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices.Rules
Assembly : Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Sintassi

'Dichiarazione
Public Property Rule As RuleLogic
public RuleLogic Rule { get; set; }
public:
property RuleLogic^ Rule {
    RuleLogic^ get ();
    void set (RuleLogic^ value);
}
/** @property */
public RuleLogic get_Rule ()

/** @property */
public void set_Rule (RuleLogic value)
public function get Rule () : RuleLogic

public function set Rule (value : RuleLogic)

Valore proprietà

The RuleLogic object that is evaluated to determine the value of the RuleValue instance.

Osservazioni

The specified RuleLogic instance must have the same InputType value as the rule or condition you are defining.

A RuleLogic instance of type FilterRule has a Boolean return value; an instance of type PropertyRule has a return type determined by the Result property.

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

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