3.2.5.143.2.2.6 GetFolderByServerRelativeUrl
Return Type: Microsoft.SharePoint.Client.Folder
Returns the folder that is located at the specified URL. The user MUST have permission to browse directories of the site (2) specified by the given URL.
Parameters:
serverRelativeUrl: Specifies the server-relative URL for the folder.
Type: CSOM String
Exceptions:
Error Code |
Error Type Name |
Condition |
---|---|---|
-2147024894 |
System.IO.FileNotFoundException |
serverRelativeUrl doesn't correspond to a folder |