SPCapabilityChecker members

Represents a checker that checks the availability of a service.

The SPCapabilityChecker type exposes the following members.

Constructors

  Name Description
Protected method SPCapabilityChecker Initializes a new instance of the SPCapabilityChecker class.

Top

Properties

  Name Description
Public property CapabilityID Gets the identifier of the capability to be checked.
Public property FeatureDependencies Gets the SharePoint features this capability contains.

Top

Methods

  Name Description
Public method CheckUsageRightForCurrentTenant Checks the tenant license and returns the display names of the services or features for which the current tenant does not have a license. If the current tenant has the license to use all services or features of this capability, an empty list is returned.
Public method CheckUsageRightForCurrentUser Checks the user license and gets the display names of the services or features for which the current user does not have a license. If the user has the license to use all services or features of this capability, an empty list is returned.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetMissingCustomDependencies Gets the sub-capabilities that are missing.
Public method GetMissingServiceDependencyNames Gets the display names of the services this capability contains.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPCapabilityChecker class

Microsoft.SharePoint namespace