Share via


SPWebApplication.WebService Property

Gets the parent Web service of the Web application.

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

Syntax

Public ReadOnly Property WebService As SPWebService
    Get

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