Share via


SPWebApplicationBuilder.WebService property

Gets or sets the parent Web service for the Web application.

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

Syntax

'Declaration
Public Property WebService As SPWebService
    Get
    Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As SPWebService

value = instance.WebService

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

Property value

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

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace