WebURL Property
Returns the full URL to the Windows SharePoint Services subweb in which this page exists.
objWebPartPage.WebPartURL
objWebPartPage A reference to the WebPartPage object.
Example
Microsoft Visual Basic Scripting Edition:
Set strWebURL = WPSC.WebPartPage.WebURL
Microsoft JScript:
var strWebURL = WPSC.WebPartPage.WebURL;
Requirements
Platforms: Microsoft Windows Server 2003
Applies to: WebPartPage Object