SPService.Required property

Gets a Boolean value that indicates whether an instance of the 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 Overridable ReadOnly Property Required As Boolean
    Get
'Usage
Dim instance As SPService
Dim value As Boolean

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

Property value

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

See also

Reference

SPService class

SPService members

Microsoft.SharePoint.Administration namespace