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)

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