Compartir a través de


: ServerContext.GetContext (Método) (HttpContext) (Microsoft.Office.Server)

Gets the ServerContext instance for the specified HttpContext.

Espacio de nombres:
Ensamblado: Microsoft.Office.Server (in 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
    A System.Web.HttpContext instance.

Valor devuelto

A ServerContext instance.

Vea también

Referencia

ServerContext (Clase)
ServerContext (Miembros)
Microsoft.Office.Server (Espacio de nombres)