Partilhar via


ISubscriptionManager.GetSubscription Method (String, String, String, String)

Gets a single cache subscription given the fully qualified name of the view and the subscription name.

Namespace:  Microsoft.BusinessData.Offlining
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetSubscription ( _
    entityNamespace As String, _
    entityName As String, _
    viewName As String, _
    subscriptionName As String _
) As ISubscription
'Usage
Dim instance As ISubscriptionManager
Dim entityNamespace As String
Dim entityName As String
Dim viewName As String
Dim subscriptionName As String
Dim returnValue As ISubscription

returnValue = instance.GetSubscription(entityNamespace, _
    entityName, viewName, subscriptionName)
ISubscription GetSubscription(
    string entityNamespace,
    string entityName,
    string viewName,
    string subscriptionName
)

Parameters

  • entityNamespace
    Type: System.String

    The namespace of the subscription external content type.

  • entityName
    Type: System.String

    The name of the subscription external content type.

  • viewName
    Type: System.String

    The namespace of the subscription View.

  • subscriptionName
    Type: System.String

    The subscription programmatic name.

Return Value

Type: Microsoft.BusinessData.Offlining.ISubscription
The subscription.

Examples

Code Snippet: Programmatically Request a Cache Refresh on the Client

Code Snippet: Get Members of a BCS Cache Subscription 2

See Also

Reference

ISubscriptionManager Interface

ISubscriptionManager Members

GetSubscription Overload

Microsoft.BusinessData.Offlining Namespace