Share via


SPSite.FileNotFoundUrl-Eigenschaft

Rufen Sie SPSite Swerver relative Url oder absolute URL zu der Datei, die Seite nicht gefunden. Dieser Wert wird als Umleitungs-URL für HTTP-Anforderung die Ressource nicht gefunden werden kann.

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; }

Eigenschaftswert

Typ: 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.

Siehe auch

Referenz

SPSite Klasse

SPSite-Member

Microsoft.SharePoint-Namespace