Turns the Report Server Windows and Web services on and off.
Public Sub SetServiceState(ByVal EnableWindowsService As Boolean, _ ByVal EnableWebService As Boolean, ByVal EnableReportManager As Boolean, _ ByRef HRESULT As Int32)
public void SetSecureConnectionLevel(Boolean EnableWindowsService, Boolean EnableWebService, Boolean EnableReportManager, out Int32 HRESULT);
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.
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
A Boolean value indicating the desired state of the Report manager.
[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\RS_<EncodedInstanceName>\v10\Admin
Platform: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional with Service Pack 2 (SP2) or Service Pack 1 (SP1); or Windows 2000 (all versions)