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.v25.1.dll
NuGet Package: DevExpress.Data
Declaration
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.