(HttpContext) del método ServerContext.GetContext
Obtiene la instancia de ServerContext para el HttpContextde especificado.
Espacio de nombres: Microsoft.Office.Server
Ensamblado: Microsoft.Office.Server (en Microsoft.Office.Server.dll)
Sintaxis
'Declaración
Public Shared Function GetContext ( _
httpContext As HttpContext _
) As ServerContext
'Uso
Dim httpContext As HttpContext
Dim returnValue As ServerContext
returnValue = ServerContext.GetContext(httpContext)
public static ServerContext GetContext(
HttpContext httpContext
)
Parámetros
httpContext
Tipo: System.Web.HttpContextUna instancia de System.Web.HttpContext .
Valor devuelto
Tipo: Microsoft.Office.Server.ServerContext
Una instancia de ServerContext .