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
name
Type: System.StringThe name of the model.
isCached
Type: System.BooleanIndicates whether the model should be cached.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe Metadata Store.
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