Share via


CustomDataSourceProvider.GetPreviewDataSet method

Returns a dataset to preview.

Namespace:  Microsoft.PerformancePoint.Scorecards.Extensions
Assembly:  Microsoft.PerformancePoint.Scorecards.Server (in Microsoft.PerformancePoint.Scorecards.Server.dll)

Syntax

'Declaration
Public MustOverride Function GetPreviewDataSet ( _
    maxRecords As Integer _
) As DataSet
'Usage
Dim instance As CustomDataSourceProvider
Dim maxRecords As Integer
Dim returnValue As DataSet

returnValue = instance.GetPreviewDataSet(maxRecords)
public abstract DataSet GetPreviewDataSet(
    int maxRecords
)

Parameters

  • maxRecords
    Type: System.Int32

    The maximum number of records to retrieve.

Return value

Type: System.Data.DataSet
A dataset with the preview data, up to the maximum number of records.

Implements

IDataSourceMetadata.GetPreviewDataSet(Int32)

See also

Reference

CustomDataSourceProvider class

CustomDataSourceProvider members

Microsoft.PerformancePoint.Scorecards.Extensions namespace