Partilhar via


SPWebService.WebApplications Property

Gets the set of Web applications that are installed with this service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property WebApplications As SPWebApplicationCollection
    Get
'Usage
Dim instance As SPWebService
Dim value As SPWebApplicationCollection

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

Property Value

Type: Microsoft.SharePoint.Administration.SPWebApplicationCollection
An SPWebApplicationCollection object.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace