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

Public Property WebService As SPWebService
    Get
    Set

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