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

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