Condividi tramite


Model.Create Method

Creates a new Model object.

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

Syntax

'Declaration
Public Shared Function Create ( _
    name As String, _
    isCached As Boolean, _
    metadataCatalog As AdministrationMetadataCatalog _
) As Model
'Usage
Dim name As String
Dim isCached As Boolean
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As Model

returnValue = Model.Create(name, isCached, _
    metadataCatalog)
public static Model Create(
    string name,
    bool isCached,
    AdministrationMetadataCatalog metadataCatalog
)

Parameters

  • isCached
    Type: System.Boolean

    Indicates whether the model should be cached.

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.Model

The new Model object.

Examples

Code Snippet: Create an External Content Type Using the Administration Object Model

See Also

Reference

Model Class

Model Members

Microsoft.SharePoint.BusinessData.Administration Namespace