共用方式為


SP.View.serverRelativeUrl 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 list view page.

var value = SP.View.get_serverRelativeUrl(); 

Property Value

Type: String

Applies To

SP.View Class

Remarks

It must not be null. It must not be empty. It must be a URL of server-relative form.

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace