次の方法で共有


IsAggregateRow プロパティ

現在の行に集計データが含まれているかどうかを示します。

名前空間:  Microsoft.ReportingServices.DataProcessing
アセンブリ:   Microsoft.ReportingServices.SharePoint.UI.WebParts (Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (Microsoft.ReportingServices.Interfaces.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
現在の行に集計データが含まれている場合、値は true となり、含まれていない場合は false となります。

説明

IsAggregateRow プロパティは、結果セットに関する特定の集計情報をレポート サーバーに指定することを可能にします。たとえば、次の結果セットを使用します。

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

結果セットの行のすべてのフィールドにデータが含まれている場合、結果セットは IsAggregateRow に対して false を返します。前の例では、行 2、4、5、7、8、9 などの行内の列に集計フィールドが含まれている場合は、必ず IsAggregateRow に対して true を返します。