SqlUserDefinedAggregateAttribute.IsInvariantToOrder 属性
定义
指示聚合是否与顺序无关。Indicates whether the aggregate is invariant to order.
public:
property bool IsInvariantToOrder { bool get(); void set(bool value); };
public bool IsInvariantToOrder { get; set; }
member this.IsInvariantToOrder : bool with get, set
Public Property IsInvariantToOrder As Boolean
属性值
如果聚合与顺序无关,则为 true;否则为 false。true if the aggregate is invariant to order; otherwise false.
注解
留待将来使用。Reserved for future use. 此属性当前未由查询处理器使用: order 当前不能保证。This property is not currently used by the query processor: order is currently not guaranteed.
错误设置此属性可能会导致不正确的查询结果。Incorrectly setting this property can result in incorrect query results. 此属性不是优化器提示;它会影响选定的计划和查询返回的结果。This property is not an optimizer hint; it affects the plan selected and the results returned by the query.
此属性的默认值为 false。The default value for this property is false.