Partilhar 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)
Available in Sandboxed Solutions: No

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