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