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.GuidThe partition in which to look for the store.
serviceApplicationProxy
Type: Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxyThe proxy to use to connect to the service application where the store should be found.
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.