[]
Lists unique values of a field for the server's clients.
public static Task<IList> GetUniqueValuesCube(string connection, string cubeName, Dictionary<string, object> view, string fieldUniqueName, CancellationToken cancelToken)
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. |
Type | Description |
---|---|
Task<IList> | Collection of objects with properties Name (string) and Type (System.Type) |
Using this method, a client can show a list of values for the user to choose from.