| title | ReserveURL method (WMI MSReportServer_ConfigurationSetting) | |
|---|---|---|
| description | ReserveURL method (WMI MSReportServer_ConfigurationSetting) | |
| ms.date | 09/25/2024 | |
| ms.service | reporting-services | |
| ms.subservice | wmi-provider-library-reference | |
| ms.topic | ui-reference | |
| ms.custom |
|
|
| helpviewer_keywords |
|
Adds a URL reservation for a given application.
Public Sub ReserveURL(Application as String, _
UrlString as String, Lcid as Int32, _
ByRef [Error] as String, ByRef HRESULT as Int32) public void ReserveURL(string Application, string UrlString, int Lcid,
out string error, out int HRESULT); Application
The name of application to reserve the URL for.
URLString
The URL for the reservation.
Lcid
The locale to use for the error messages returned.
Error
[out] The description of the error that occurred.
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. An error code indicates the call wasn't successful.
UrlString doesn't include the virtual directory name. The SetVirtualDirectory method is provided for that purpose.
URL reservations are created for the current Windows service account. Changing the Windows service account requires updating all the URL reservations manually.
This method causes all application domains to hard recycle. Application domains are restarted after this operation is complete.
Namespace: [!INCLUDEssRSWMInmspcA]