Share via


WebURL Property

Applies to: SharePoint Foundation 2010

Returns the full URL to the Microsoft SharePoint Foundation subsite in which this page exists.

objWebPartPage.WebPartURL

Parameters

Parameter

Description

objWebPartPage

A reference to the WebPartPage Object.

Example 1: Microsoft Visual Basic Scripting Edition

Code

Set strWebURL = WPSC.WebPartPage.WebURL

Example 2: Microsoft Microsoft JScript

Code

var strWebURL = WPSC.WebPartPage.WebURL;

Requirements

Applies to: WebPartPage Object.

See Also

Other Resources

Web Part Page Services Component (WPSC) Object Model