SPFile.ServerRedirected Property

Gets a Boolean value that indicates whether users who do not have access to view the source file, or who do not have the appropriate client application installed, are redirected to server-side rendering of the file when they click a link to view it.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ServerRedirected As Boolean
    Get
'Usage
Dim instance As SPFile
Dim value As Boolean

value = instance.ServerRedirected
public bool ServerRedirected { get; }

Property Value

Type: System.Boolean
true if users are redirected to server-side rendering of the file; otherwise, false.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace