共用方式為


RuleValue.Rule Property

Gets or sets the RuleLogic instance embedded in this argument.

命名空間: Microsoft.SqlServer.NotificationServices.Rules
組件: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

語法

'宣告
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)

屬性值

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

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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