File.ServerRelativeUrl プロパティ
Gets the relative URL of the file based on the URL for the server.
名前空間: 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 File
Dim value As String
value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }
プロパティ値
型: System.String
A string that contains the URL.
例外
例外 | 条件 |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
注釈
The ServerRelativeUrl property returns a string in the following form, which excludes the name of the server or root folder: /Site_Name/Subsite_Name/Folder_Name/File_Name.
It must not be null 参照 (Visual Basic のNothing ). It must be a URL of server relative form.