The SURLPrefix method returns the secure root domain as determined by the site dictionary’s SecureHostName value. The returned string can be used as the prefix of a complete URL.
Page.SURLPrefix()
None.
During application development, you can set the DisableHTTPS property of the site dictionary is set to one (1), which causes the SURLPrefix method to use the NonsecureHostName value as the host name. The SURLPrefix method generates a secure URL only if Site.DisableHTTPS is set to zero (0).
The following script:
mscsPage.SURLPrefix()
returns the following string, assuming the secure host domain is www.microsoft.com:
https://www.microsoft.com