Share via


SPWebService.Required property

Gets a Boolean value that indicates whether an instance of the Web service must be running on at least one computer in the server farm.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Required As Boolean
    Get
'Usage
Dim instance As SPWebService
Dim value As Boolean

value = instance.Required
public override bool Required { get; }

Property value

Type: System.Boolean
true if an instance of the Web service must be running on at least one computer; otherwise, false.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace