ReserveURL Method (WMI MSReportServer_ConfigurationSetting)
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
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);
The name of application to reserve the URL for.
The URL for the reservation.
The locale to use for the error messages returned.
[out] The description of the error that occurred.
[out] Value indicating whether the call succeeded or failed.
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 was not successful.
UrlString does not 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.
( 1500 characters remaining)
Thank you for your feedback