SPWebApplication.WebService Property

Gets the parent Web service of the Web application.

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


Public ReadOnly Property WebService As SPWebService
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


SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace