共用方式為


SPFolder.ServerRelativeUrl property

取得資料夾的伺服器相對 URL。

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

Syntax

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

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

Property value

Type: System.String
資料夾的伺服器相對 URL。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace