Share via


BdcService.GetDatabaseBackedMetadataCatalog method (Guid, BdcServiceApplicationProxy)

Returns the external system Metadata Store by using the specified parameters.

Namespace:  Microsoft.SharePoint.BusinessData.SharedService
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetDatabaseBackedMetadataCatalog ( _
    partitionId As Guid, _
    serviceApplicationProxy As BdcServiceApplicationProxy _
) As DatabaseBackedMetadataCatalog
'Usage
Dim instance As BdcService
Dim partitionId As Guid
Dim serviceApplicationProxy As BdcServiceApplicationProxy
Dim returnValue As DatabaseBackedMetadataCatalog

returnValue = instance.GetDatabaseBackedMetadataCatalog(partitionId, _
    serviceApplicationProxy)
public DatabaseBackedMetadataCatalog GetDatabaseBackedMetadataCatalog(
    Guid partitionId,
    BdcServiceApplicationProxy serviceApplicationProxy
)

Parameters

  • partitionId
    Type: System.Guid

    The partition in which to look for the store.

Return value

Type: Microsoft.SharePoint.BusinessData.MetadataModel.DatabaseBackedMetadataCatalog
The requested store.

Exceptions

Exception Condition
InvalidOperationException

Thrown when accessing the store in a context.

Remarks

A partitionId maps to a subscriptionId, and a subscriptionId together with a proxy map to exactly one store.

See also

Reference

BdcService class

BdcService members

GetDatabaseBackedMetadataCatalog overload

Microsoft.SharePoint.BusinessData.SharedService namespace