다음을 통해 공유


IDataReaderExtension.IsAggregateRow 속성

Indicates whether the current row contains aggregate data.

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:   Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

구문

‘선언
ReadOnly Property IsAggregateRow As Boolean 
    Get
‘사용 방법
Dim instance As IDataReaderExtension 
Dim value As Boolean 

value = instance.IsAggregateRow
bool IsAggregateRow { get; }
property bool IsAggregateRow {
    bool get ();
}
abstract IsAggregateRow : bool
function get IsAggregateRow () : boolean

속성 값

유형: System.Boolean
A value of true if the current row contains aggregate data; otherwise, false.

주의

The IsAggregateRow property enables you to supply specific, aggregation information about your result set to the report server. Take, for instance, the following result set:

City          State          Sales
====================================
Seattle       WA             150.65
Seattle       (null)         150.65
Tacoma        WA              75.54
Tacoma        (null)          75.54
(null)        WA             226.19
Portland      OR             112.25
Portland      (null)         112.25
(null)        OR             112.25
(null)        (null)         338.44

Your result set should return false for IsAggregateRow anytime all fields in the row of a result set contain data. In the previous example, you would return true for IsAggregateRow anytime that columns in a row contain an aggregation field, such as in rows 2, 4, 5, 7, 8, and 9.

참고 항목

참조

IDataReaderExtension 인터페이스

Microsoft.ReportingServices.DataProcessing 네임스페이스