SPWebApplication.WebService property

Gets the parent Web service of the Web application.

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

public SPWebService WebService { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPWebService
An SPWebService object that represents the parent Web service.
Show: