共用方式為


SPUtility.GetServerFileRedirectForLinking method

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function GetServerFileRedirectForLinking ( _
    web As SPWeb, _
    strFileName As String, _
    strProgId As String _
) As String
'用途
Dim web As SPWeb
Dim strFileName As String
Dim strProgId As String
Dim returnValue As String

returnValue = SPUtility.GetServerFileRedirectForLinking(web, _
    strFileName, strProgId)
public static string GetServerFileRedirectForLinking(
    SPWeb web,
    string strFileName,
    string strProgId
)

參數

傳回值

Type: System.String

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace