'Declaration Public Shared Function GetUniqueValuesCube( _ ByVal connection As System.String, _ ByVal cubeName As System.String, _ ByVal view As System.Collections.Generic.Dictionary(Of String,Object), _ ByVal fieldUniqueName As System.String, _ ByVal cancelToken As System.Threading.CancellationToken _ ) As System.Threading.Tasks.Task(Of IList)
public static System.Threading.Tasks.Task<IList> GetUniqueValuesCube( System.string connection, System.string cubeName, System.Collections.Generic.Dictionary<string,object> view, System.string fieldUniqueName, System.Threading.CancellationToken cancelToken )
Parameters
- connection
- SQL Server Analysis Service (SSAS) connection string.
- cubeName
- Cube name.
- view
- View definition used for retrieving data from the cube.
- fieldUniqueName
- The name of the field to provide unique values for.
- cancelToken
- Enables task cancellation.
Return Value
Collection of objects with properties Name (string) and Type (System.Type)