SPUtility.MapToServerFileRedirect Method

Definition

Overloads

MapToServerFileRedirect(SPWeb, String, String)
MapToServerFileRedirect(SPWeb, String, String, Int32)

MapToServerFileRedirect(SPWeb, String, String)

public:
 static System::String ^ MapToServerFileRedirect(Microsoft::SharePoint::SPWeb ^ web, System::String ^ strFileName, System::String ^ strProgId);
public static string MapToServerFileRedirect (Microsoft.SharePoint.SPWeb web, string strFileName, string strProgId);
static member MapToServerFileRedirect : Microsoft.SharePoint.SPWeb * string * string -> string
Public Shared Function MapToServerFileRedirect (web As SPWeb, strFileName As String, strProgId As String) As String

Parameters

web
SPWeb
strFileName
String
strProgId
String

Returns

String

Applies to

MapToServerFileRedirect(SPWeb, String, String, Int32)

public:
 static System::String ^ MapToServerFileRedirect(Microsoft::SharePoint::SPWeb ^ web, System::String ^ strFileName, System::String ^ strProgId, int redirect);
public static string MapToServerFileRedirect (Microsoft.SharePoint.SPWeb web, string strFileName, string strProgId, int redirect);
static member MapToServerFileRedirect : Microsoft.SharePoint.SPWeb * string * string * int -> string
Public Shared Function MapToServerFileRedirect (web As SPWeb, strFileName As String, strProgId As String, redirect As Integer) As String

Parameters

web
SPWeb
strFileName
String
strProgId
String
redirect
Int32

Returns

String

Applies to