SPWebApplication.Context property
如果存在,請取得內容 web 應用程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared ReadOnly Property Context As SPWebApplication
Get
'用途
Dim value As SPWebApplication
value = SPWebApplication.Context
public static SPWebApplication Context { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPWebApplication
備註
這僅適用於 HttpContext 時。