SPWebPartManager.ServerRelativeUrl property
取得目前的Web Parts page的伺服器相對 URL。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ServerRelativeUrl As String
Get
'用途
Dim instance As SPWebPartManager
Dim value As String
value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }
Property value
Type: System.String
目前的Web Parts page相對的 URL。