discover

Starts the discover request with the specified options.

Parameters

options String

The options of the discover request.

Returns

Object—The deferred object.

Example

<script>
var dataSource = new kendo.data.PivotDataSourceV2({
  type: "xmla",
  transport: {
    connection: {
        catalog: "Adventure Works DW 2008R2"
    },
    read: "https://demos.telerik.com/olap/msmdpump.dll"
  }
});

dataSource.discover({
    data: {
      command: "schemaMeasures",
      restrictions: {
        catalogName: dataSource.catalog(),
        cubeName: dataSource.cube()
      }
    }
  });
</script>
In this article