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

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