SPSite.FileNotFoundUrl 属性

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.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property FileNotFoundUrl As String
    Get
    Set
用法
Dim instance As SPSite
Dim value As String

value = instance.FileNotFoundUrl

instance.FileNotFoundUrl = value
public string FileNotFoundUrl { get; set; }

属性值

类型: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.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间