共用方式為


SPIisWebServiceApplication.Current property

取得目前正在執行的 Web 服務應用程式。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared ReadOnly Property Current As SPIisWebServiceApplication
    Get
'用途
Dim value As SPIisWebServiceApplication

value = SPIisWebServiceApplication.Current
public static SPIisWebServiceApplication Current { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPIisWebServiceApplication
SPIisWebServiceApplication 是目前正在執行的 Web 服務應用程式。

請參閱

參照

SPIisWebServiceApplication class

SPIisWebServiceApplication members

Microsoft.SharePoint.Administration namespace