AccessMetadataCache..::..GetAggregateFunction Method
Gets an aggregate function.
Namespace:
Tortuga.Chain.AccessAssembly: Tortuga.Chain.Access (in Tortuga.Chain.Access.dll)
Syntax
public string GetAggregateFunction( AggregateType aggregateType, string columnName )
Public Function GetAggregateFunction ( _ aggregateType As AggregateType, _ columnName As String _ ) As String
public: String^ GetAggregateFunction( AggregateType^ aggregateType, String^ columnName )
Parameters
- aggregateType
- Type: Tortuga.Chain.Aggregates..::..AggregateType
Type of the aggregate.
- columnName
- Type: String
Name of the column to insert into the function.
Return Value
A string suitable for use in an aggregate.Exceptions
Exception | Condition |
---|---|
NotSupportedException | Access does not support distinct counts. |
NotSupportedException | Access does not support distinct sums. |