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.Int32The 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