TechNet
Export (0) Print
Expand All

SetServiceState Method (WMI MSReportServer_ConfigurationSetting)

 

Applies To: SQL Server 2016

Turns the Report Server Windows and Web services on and off.

public void SetSecureConnectionLevel(Boolean EnableWindowsService,  
    Boolean EnableWebService, Boolean EnableReportManager, out Int32 HRESULT);  

EnableWindowsService
A Boolean value indicating the state of the Windows service. A value of true starts the Report Server Windows service; a value of false stops the Windows service.

EnableWebService
A Boolean value indicating the state of the Reporting Services Web service. A value of true starts the Report Server Web service; a value of false stops the Web service

EnableReportManager
A Boolean value indicating the desired state of the Report manager.

HRESULT
[out] Value indicating whether the call succeeded or failed.

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful. A non-zero value indicates that an error has occurred.

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v13\Admin**

MSReportServer_ConfigurationSetting Members

Community Additions

ADD
Show:
© 2016 Microsoft