ISubscriptionManagement.GetMySubscriptionsByCriteria Method
Gets workflow and notification subscriptions based on the provided criteria for the current user.
Namespace: Microsoft.EnterpriseManagement.Subscriptions
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As ISubscriptionManagement
Dim criteria As ManagementPackRuleCriteria
Dim returnValue As IList(Of IWorkflowSubscriptionBase)
returnValue = instance.GetMySubscriptionsByCriteria(criteria)
Syntax
'Declaration
Function GetMySubscriptionsByCriteria ( _
criteria As ManagementPackRuleCriteria _
) As IList(Of IWorkflowSubscriptionBase)
IList<IWorkflowSubscriptionBase> GetMySubscriptionsByCriteria (
ManagementPackRuleCriteria criteria
)
IList<IWorkflowSubscriptionBase^>^ GetMySubscriptionsByCriteria (
ManagementPackRuleCriteria^ criteria
)
IList<IWorkflowSubscriptionBase> GetMySubscriptionsByCriteria (
ManagementPackRuleCriteria criteria
)
function GetMySubscriptionsByCriteria (
criteria : ManagementPackRuleCriteria
) : IList<IWorkflowSubscriptionBase>
Parameters
criteria
Type: ManagementPackRuleCriteriaThe notification or workflow search criteria.
Return Value
Type: IList
The list of subscriptions.
Exceptions
Exception type | Condition |
---|---|
Exception | The name provided by the criteria did not match an existing subscription. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ISubscriptionManagement Interface
ISubscriptionManagement Members
Microsoft.EnterpriseManagement.Subscriptions Namespace