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

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