Site.ServerRelativeUrl プロパティ
Gets the server-relative URL of the root Web site in the site collection.
名前空間: Microsoft.SharePoint.Client
アセンブリ: Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内); Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内) Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)
構文
'宣言
Public ReadOnly Property ServerRelativeUrl As String
Get
'使用
Dim instance As Site
Dim value As String
value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }
プロパティ値
型: System.String
A string that contains the URL.
例外
例外 | 条件 |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions to perform the operation. |
注釈
The ServerRelativeUrl property contains a forward slash ("/").