SqlUserDefinedAggregateAttribute.IsInvariantToOrder Property

Definition

Indicates whether the aggregate is invariant to order.

C#
public bool IsInvariantToOrder { get; set; }

Property Value

true if the aggregate is invariant to order; otherwise false.

Remarks

Reserved for future use. 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.

The default value for this property is false.

Applies to

Produkt Versiounen
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1