Export (0) Print
Expand All
Expand Minimize

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:
© 2014 Microsoft