Skip to main content
A newer version of this page is available. .

ConnectionProviderSql.UnregisterCustomAggregate(String) Method

Unregisters a custom aggregate function with the specified name from use in any ConnectionProviderSql-based connection provider in your application.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v19.2.dll

Declaration

public bool UnregisterCustomAggregate(
    string functionName
)

Parameters

Name Type Description
functionName String

A custom aggregate function’s name. This value cannot be null (Nothing in Visual Basic) or match a standard aggregate name: Sum, Min, Max, Avg, Count, Exists, or Single.

Returns

Type Description
Boolean

true, if a custom aggregate function whose name matches the functionName was unregistered successfully; otherwise, false.

Remarks

To remove a custom aggregate function instance, call the UnregisterCustomAggregate(ICustomAggregateFormattable) overloaded method and pass the instance as its parameter.

See Also