Show/Hide Toolbars

Reporting Services CMD

Command: GetRptHistCnt

 

Get report history count

 

SSRS Version:

 

2000, 2005 (N), 2005 (I), 2008 (N), 2008 (I),2008r2(N), 2008r2(I), 2012(N), 2012(I), Azure

 

(N)=Native

(I)=Integrated

 

 

Syntax

 

GetRptHistCnt  Report|Folder [/D][/S][/A][/FD][/FS]

GetRptHistCnt /?

 

Parameters

 

 [/S]        Sub folder.

 [/A]        Show all reports including those without history only to be used with Folder

 [/FD]        Reports with snapshot count not inheriting system value

 [/FS]        Reports with snapshot count inheriting system value

 

  Note: /FS /FD are mutually exclusive

 

 

 

Examples

 

show all reports including those with zero count.

 

getrpthist /a

 

Path: \

|-----------|-------------|---------|------------------

| Count     | Max History | Inherit | Report Name

|-----------|-------------|---------|------------------

|         0 |   Unlimited | True    | Report1

|         0 |   Unlimited | True    | Report2

|-----------|-------------|---------|------------------

 

 

Remarks

 

if no folder of report is specified then all reports in the current folder will be processed.

 

See Also

 

 CreateReportHistSnapshot        - Create report history snapshot

 DelSnapshot                        - Delete report history snapshot

 GetRptHist                        - Get report history information

 GetRptHistCnt                        - Get report history count information

 HistDisable                        - Disable report history

 HistEnable                        - Enable report history

 HistStatus                        - Report history status

 SetRptHistCnt                        - Set report history count