SPWebApplication.Context-Eigenschaft
Ruft die Kontext-Webanwendung ab, sofern vorhanden.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared ReadOnly Property Context As SPWebApplication
Get
'Usage
Dim value As SPWebApplication
value = SPWebApplication.Context
public static SPWebApplication Context { get; }
Eigenschaftswert
Typ: Microsoft.SharePoint.Administration.SPWebApplication
Hinweise
Dies funktioniert nur, wenn ein HttpContext vorhanden ist.