RemoveURL Method (WMI MSReportServer_ConfigurationSetting)
Removes a URL reserved for the report server. If there are multiple URLs that need to be removed, this must be done one by one calling this API.
UrlString does not include the Virtual Directory name – the SetVirtualDirectory Method (WMI MSReportServer_ConfigurationSetting) method is provided for that purpose.
Before calling the ReserveURL method, you must supply a value for the VirtualDirectory configuration property for the Application parameter. Use the SetVirtualDirectory Method (WMI MSReportServer_ConfigurationSetting) method to set the VirtualDirectory property.
If an SSL Certificate was provisioned by Reporting Services and no other URLs need it, it is removed.
This method causes all non-configuration app domains to hard recycle and stop during this operation; app domains are restarted after this operation complete.
Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v11\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)
