SPContext.UpdateAfterUrlRewrite 方法

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared Sub UpdateAfterUrlRewrite
用法

SPContext.UpdateAfterUrlRewrite()
public static void UpdateAfterUrlRewrite()

备注

对于某些操作发生 URL 重写之前,上下文 URI 是与传入 URI,这是不同于HttpContext.Current.Request.Url完成的 URL 重写后的安装程序。此方法更新存储 URI。

仅在 IIS 通知管道的AuthenticateRequest或AuthorizeRequest事件中支持此操作。

另请参阅

引用

SPContext 类

SPContext 成员

Microsoft.SharePoint 命名空间