Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FileNotFoundUrl property
Collapse the table of content
Expand the table of content

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.
Show:
© 2015 Microsoft