Page.URLPrefix Method

The URLPrefix method returns the root domain as determined by the site dictionary’s NonSecureHostName value. The returned string can be used as the prefix to a complete URL.

Syntax

Page.URLPrefix()

Parameters

None.

Remarks

To generate the domain for the secure host, use the Page.SURLPrefix method.

Example

The following example:

mscsPage.URLPrefix()

returns the following string, assuming the domain is www.microsoft.com:

http://www.microsoft.com

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.