ISubscriptionManagement.GetMySubscriptionsByCriteria Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets workflow and notification subscriptions based on the provided criteria for the current user.
public:
System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Subscriptions::IWorkflowSubscriptionBase ^> ^ GetMySubscriptionsByCriteria(Microsoft::EnterpriseManagement::Configuration::ManagementPackRuleCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Subscriptions.IWorkflowSubscriptionBase> GetMySubscriptionsByCriteria (Microsoft.EnterpriseManagement.Configuration.ManagementPackRuleCriteria criteria);
abstract member GetMySubscriptionsByCriteria : Microsoft.EnterpriseManagement.Configuration.ManagementPackRuleCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Subscriptions.IWorkflowSubscriptionBase>
Public Function GetMySubscriptionsByCriteria (criteria As ManagementPackRuleCriteria) As IList(Of IWorkflowSubscriptionBase)
Parameters
- criteria
- ManagementPackRuleCriteria
The notification or workflow search criteria.
Returns
The list of subscriptions.
Exceptions
The name provided by the criteria did not match an existing subscription.