SPWeb.ServerRelativeUrl property
取得或設定網站的伺服器相對 URL。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ServerRelativeUrl As String
Get
Set
'用途
Dim instance As SPWeb
Dim value As String
value = instance.ServerRelativeUrl
instance.ServerRelativeUrl = value
public string ServerRelativeUrl { get; set; }
Property value
Type: System.String
字串,包含伺服器相對 URL。