Share via


PmService.GetPreviewDataSet Method (Microsoft.PerformancePoint.Scorecards.Server)

Gets the dataset preview.

Namespace: Microsoft.PerformancePoint.Scorecards.Server
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in microsoft.performancepoint.scorecards.server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetPreviewDataSet ( _
    maxRecords As Integer, _
    dataSource As DataSource _
) As DataSet
'Usage
Dim instance As PmService
Dim maxRecords As Integer
Dim dataSource As DataSource
Dim returnValue As DataSet

returnValue = instance.GetPreviewDataSet(maxRecords, dataSource)
[WebMethodAttribute] 
public DataSet GetPreviewDataSet (
    int maxRecords,
    DataSource dataSource
)

Parameters

  • maxRecords
    The maximum number of records to retrieve.
  • dataSource
    The data source to query.

Return Value

The dataset.

See Also

Reference

PmService Class
PmService Members
Microsoft.PerformancePoint.Scorecards.Server Namespace