共用方式為


SP.List.parentWebUrl Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that specifies the server-relative URL of the site that contains the list.

var value = SP.List.get_parentWebUrl(); 

Property Value

Type: String

Applies To

SP.List Class

Remarks

It must be a URL of server-relative form.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace