共用方式為


SPWebService.WebApplications property

取得與此服務已安裝的 Web 應用程式的設定。

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

Syntax

'宣告
Public ReadOnly Property WebApplications As SPWebApplicationCollection
    Get
'用途
Dim instance As SPWebService
Dim value As SPWebApplicationCollection

value = instance.WebApplications
public SPWebApplicationCollection WebApplications { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPWebApplicationCollection
SPWebApplicationCollection 物件。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace