Web.GetAppBdcCatalogForAppInstance method

SharePoint 2013

Returns the Business Data Connectivity (BDC) MetadataCatalog for an application that gives access to the external content types defined in the BDC metadata model packaged by the application. This method should be called on the Web object where the application is installed.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public AppBdcCatalog GetAppBdcCatalogForAppInstance(
	Guid appInstanceId


Type: System.Guid

The identifier of the app instance.

Return value

Type: Microsoft.BusinessData.MetadataModel.AppBdcCatalog
The BDC MetadataCatalog deployed on the site for the application.

It must not be an empty GUID.