[]
        
(Showing Draft Content)

C1.PivotEngine.C1PivotEngine.GetUniqueValuesCube

GetUniqueValuesCube Method

GetUniqueValuesCube(string, string, Dictionary<string, object>, string, CancellationToken)

Lists unique values of a field for the server's clients.

Declaration
public static Task<IList> GetUniqueValuesCube(string connection, string cubeName, Dictionary<string, object> view, string fieldUniqueName, CancellationToken cancelToken)
Parameters
Type Name Description
string connection

SQL Server Analysis Service (SSAS) connection string.

string cubeName

Cube name.

Dictionary<string, object> view

View definition used for retrieving data from the cube.

string fieldUniqueName

The name of the field to provide unique values for.

CancellationToken cancelToken

Enables task cancellation.

Returns
Type Description
Task<IList>

Collection of objects with properties Name (string) and Type (System.Type)

Remarks

Using this method, a client can show a list of values for the user to choose from.