AdministrationMetadataCatalog.GetModel method

Gets the metadata model using the specified name.

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

Syntax

'Declaration
Public Function GetModel ( _
    name As String _
) As Model
'Usage
Dim instance As AdministrationMetadataCatalog
Dim name As String
Dim returnValue As Model

returnValue = instance.GetModel(name)
public Model GetModel(
    string name
)

Parameters

Return value

Type: Microsoft.SharePoint.BusinessData.Administration.Model
The metadata model.

Exceptions

Exception Condition
ArgumentNullException

The name parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The name contains more than 255 characters.

MetadataObjectNotFoundException

The external content type does not exist in the Metadata Store.

See also

Reference

AdministrationMetadataCatalog class

AdministrationMetadataCatalog members

Microsoft.SharePoint.BusinessData.Administration namespace