Поделиться через


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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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