Udostępnij za pośrednictwem


RuleValue.Rule Property

Gets or sets the RuleLogic instance embedded in this argument.

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
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)

Property Value

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

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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