共用方式為


ISubscriptionManagement.GetSubscriptionStatusById Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the status of a workflow or notification subscription from the provided identifier.

Namespace: Microsoft.EnterpriseManagement.Subscriptions
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ISubscriptionManagement
Dim id As Guid
Dim returnValue As IList(Of SubscriptionJobStatus)

returnValue = instance.GetSubscriptionStatusById(id)

Syntax

'Declaration
Function GetSubscriptionStatusById ( _
    id As Guid _
) As IList(Of SubscriptionJobStatus)
IList<SubscriptionJobStatus> GetSubscriptionStatusById (
    Guid id
)
IList<SubscriptionJobStatus^>^ GetSubscriptionStatusById (
    Guid id
)
IList<SubscriptionJobStatus> GetSubscriptionStatusById (
    Guid id
)
function GetSubscriptionStatusById (
    id : Guid
) : IList<SubscriptionJobStatus>

Parameters

  • id
    The unique identifier.

Return Value

The workflow or notification subscription status.

Exceptions

Exception type Condition
ArgumentException

The status identified by the id parameter does not exist.

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