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)
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.