Show/Hide Toolbars

Reporting Services CMD

Command: DSStatus

 

Status of the datasource returning enabled or disabled.

 

SSRS Version:

 

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

 

(N)=Native

(I)=Integrated

 

Syntax

 

DSStatus <Datasource name>

 

 

 

Parameters

 

<Datasource Name>        Name of datasource

 

Examples

 

list data source status for all data sources

 

\>dsstatus  \ /s

 

Status   |  Datasource

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

Disabled | \Data Sources\DataSource1

Enabled  | \Data Sources\DataSource2

 

 

 

 

list status for specific data source. Note the data source name is enclosed in quotes as it has spaces in the name

 

\>dsstatus  "\Data Sources\DataSource1"

 

Status   |  Datasource

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

Disabled | \Data Sources\DataSource1

 

 

 

Remarks

 

Enclose the folder / data source name if it has spaces in it.

 

See Also

 

 

 

DSDisable        - disable data source

DSEnable        - enable data source

DSStatus        - data source status