Freigeben über


ServerContext.GetContext-Methode (HttpContext)

Ruft die ServerContext -Instanz für den angegebenen HttpContext.

Namespace:  Microsoft.Office.Server
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Shared Function GetContext ( _
    httpContext As HttpContext _
) As ServerContext
'Usage
Dim httpContext As HttpContext
Dim returnValue As ServerContext

returnValue = ServerContext.GetContext(httpContext)
public static ServerContext GetContext(
    HttpContext httpContext
)

Parameter

Rückgabewert

Typ: Microsoft.Office.Server.ServerContext
Eine ServerContext -Instanz.

Siehe auch

Referenz

ServerContext Klasse

ServerContext-Member

GetContext-Überladung

Microsoft.Office.Server-Namespace