Partilhar via


Report.NumberOfPages Property

Gets the number of pages in the report.

Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
Public ReadOnly Property NumberOfPages As Integer
public int NumberOfPages { get; }
public:
property int NumberOfPages {
    int get ();
}
/** @property */
public int get_NumberOfPages ()
public function get NumberOfPages () : int

Property Value

An integer value containing the number of pages in the report.

Remarks

New:5 December 2005

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace