SPWebApplication.WebService property

Gets the parent Web service of the Web application.

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

Syntax

'Declaration
Public ReadOnly Property WebService As SPWebService
    Get
'Usage
Dim instance As SPWebApplication
Dim value As SPWebService

value = instance.WebService
public SPWebService WebService { get; }

Property value

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

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace