Share via


IDataSourceMetadata.GetPreviewDataSet method

Gets preview data from data source.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Function GetPreviewDataSet ( _
    maxRecords As Integer _
) As DataSet
'Usage
Dim instance As IDataSourceMetadata
Dim maxRecords As Integer
Dim returnValue As DataSet

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

Parameters

  • maxRecords
    Type: System.Int32

    The maximum number of records to return.

Return value

Type: System.Data.DataSet
A dataset with the tabular data.

See also

Reference

IDataSourceMetadata interface

IDataSourceMetadata members

Microsoft.PerformancePoint.Scorecards namespace