Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPSite.FileNotFoundUrl property

SharePoint 2013

Get SPSite swerver relative Url or absolute URL to file not found page. This value is used as redirect URL for HTTP request where the resource can not be found.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public string FileNotFoundUrl { get; set; }

Property value

Type: System.String
Server relative or absolute URL to file not found page. The value must begin with http(s), or a slash, /. The URL must not be encoded.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.