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

public bool ServerRedirected { get; }

Property Value

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