共用方式為


SPView.ServerRelativeUrl property

取得檢視網頁的伺服器相對 URL。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property ServerRelativeUrl As String
    Get
'用途
Dim instance As SPView
Dim value As String

value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }

Property value

Type: System.String
字串,包含 URL。

請參閱

參照

SPView class

SPView members

Microsoft.SharePoint namespace