SPSite.FileNotFoundUrl property
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)
Syntax
'Declaration
Public Property FileNotFoundUrl As String
Get
Set
'Usage
Dim instance As SPSite
Dim value As String
value = instance.FileNotFoundUrl
instance.FileNotFoundUrl = value
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.