Skip to main content

ConnectionProviderSql.UnregisterCustomAggregate(ICustomAggregateFormattable) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public bool UnregisterCustomAggregate(
    ICustomAggregateFormattable customAggregate
)

Parameters

Name Type Description
customAggregate ICustomAggregateFormattable

A custom aggregate function to unregister.

Returns

Type Description
Boolean

true, if the customAggregate was unregistered successfully; otherwise, false.

Remarks

To remove a custom aggregate function with a specific name, call the UnregisterCustomAggregate(String) overloaded method and pass the name as its parameter.

See Also