Delen via


SqlUserDefinedAggregateAttribute.IsNullIfEmpty Property

Definition

Indicates whether the aggregate returns null if no values have been accumulated.

public:
 property bool IsNullIfEmpty { bool get(); void set(bool value); };
public bool IsNullIfEmpty { get; set; }
member this.IsNullIfEmpty : bool with get, set
Public Property IsNullIfEmpty As Boolean

Property Value

true if the aggregate returns null if no values have been accumulated; otherwise false.

Remarks

Used by the query processor, this property is true if the aggregate returns null if no values have been accumulated.

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.

Applies to