Interface IQueryFeatures
Provides access to high level information pertaining to features present on the Activation set of ILicenses for a given Product
See Features for examples and details of how to obtain an IQuery
Product
For(String) for examples and details of how to obtain an IAgent
Namespace: Sp.Agent.Licensing
Assembly: Sp.Agent.dll
Methods
ValidAvailable()
Provides a consolidated set of in-date Features across all currently Valid Activated Software Potential service Product Licenses for this Product
The set of licenses considered is obtainable via Valid().
Declaration
[Obsolete("This method has been renamed. Please change your code to use the new name: LocalFeatures.Valid")]
ISet<string> ValidAvailable()
Returns
Type | Description |
---|---|
System. |
The set of in-date features available across all Valid licenses. |
Remarks
When checking for the presence of a single Feature, it can be significantly cheaper to use Valid
Use Valid() to query at the license level.
ValidAvailableContains(String)
Determines whether featureName
is available and in-date Feature on any Valid Activated Software Potential service Product License for this Product
A consolidated set of available features can be retrieved using Valid
The set of licenses considered can be retrieved via Valid().
Declaration
[Obsolete("This method has been renamed. Please change your code to use the new name: LocalFeatures.ValidContains")]
bool ValidAvailableContains(string featureName)
Parameters
Type | Name | Description |
---|---|---|
System. |
featureName | Name of the feature to search for. The value is case-sensitive. |
Returns
Type | Description |
---|---|
System. |
|
Remarks
Use Valid() to query at the license level.