[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets workflow and notification subscriptions from the provided unique identifier. Namespace: Microsoft.EnterpriseManagement.Subscriptions
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ISubscriptionManagement
Dim id As Guid
Dim returnValue As IWorkflowSubscriptionBase

returnValue = instance.GetSubscriptionById(id)

Syntax

Visual Basic
Function GetSubscriptionById ( _
		id As Guid _
) As IWorkflowSubscriptionBase
C#
IWorkflowSubscriptionBase GetSubscriptionById (
		Guid id
)
C++
IWorkflowSubscriptionBase^ GetSubscriptionById (
		Guid id
)
J#
IWorkflowSubscriptionBase GetSubscriptionById (
		Guid id
)
JScript
function GetSubscriptionById (
		id : Guid
) : IWorkflowSubscriptionBase

Parameters

id

Type: Guid

The unique identifier.

Return Value

Type: IWorkflowSubscriptionBase The subscription.

Exceptions

Exception type Condition
Exception

The identifier provided by the id parameter did not match an existing subscription.

Remarks

The desired subscription should be owned by the current user, or the current user should be a Service Manager administrator.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also