: ServerContext.GetContext (Método) (SPWebApplication) (Microsoft.Office.Server)
Gets the ServerContext instance for the specified Web application.
Espacio de nombres:
Ensamblado: Microsoft.Office.Server (in microsoft.office.server.dll)
Sintaxis
'Declaración
Public Shared Function GetContext ( _
webApplication As SPWebApplication _
) As ServerContext
'Uso
Dim webApplication As SPWebApplication
Dim returnValue As ServerContext
returnValue = ServerContext.GetContext(webApplication)
public static ServerContext GetContext (
SPWebApplication webApplication
)
Parámetros
- webApplication
A Microsoft.SharePoint.Administration.SPWebApplication object.
Valor devuelto
A ServerContext instance.
Vea también
Referencia
ServerContext (Clase)
ServerContext (Miembros)
Microsoft.Office.Server (Espacio de nombres)