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
httpContext
Typ: System.Web.HttpContextEine System.Web.HttpContext -Instanz.
Rückgabewert
Typ: Microsoft.Office.Server.ServerContext
Eine ServerContext -Instanz.