Share via


Parameter.CreateRootTypeDescriptor method

Creates a top-level (root) TypeDescriptor object for this parameter.

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

Syntax

'Declaration
Public Function CreateRootTypeDescriptor ( _
    name As String, _
    isCached As Boolean, _
    typeName As String, _
    lobName As String, _
    identifierReference As IdentifierReference, _
    filterDescriptor As FilterDescriptor, _
    flags As TypeDescriptorFlags, _
    associationReference As AssociationReference, _
    metadataCatalog As AdministrationMetadataCatalog _
) As TypeDescriptor
'Usage
Dim instance As Parameter
Dim name As String
Dim isCached As Boolean
Dim typeName As String
Dim lobName As String
Dim identifierReference As IdentifierReference
Dim filterDescriptor As FilterDescriptor
Dim flags As TypeDescriptorFlags
Dim associationReference As AssociationReference
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As TypeDescriptor

returnValue = instance.CreateRootTypeDescriptor(name, _
    isCached, typeName, lobName, identifierReference, _
    filterDescriptor, flags, associationReference, _
    metadataCatalog)
public TypeDescriptor CreateRootTypeDescriptor(
    string name,
    bool isCached,
    string typeName,
    string lobName,
    IdentifierReference identifierReference,
    FilterDescriptor filterDescriptor,
    TypeDescriptorFlags flags,
    AssociationReference associationReference,
    AdministrationMetadataCatalog metadataCatalog
)

Parameters

  • name
    Type: System.String

    The name of the root TypeDescriptor object.

  • isCached
    Type: System.Boolean

    A Boolean value indicating whether the TypeDescriptor object should be cached for run-time use.

  • typeName
    Type: System.String

    The Microsoft .NET Framework Type name.

Return value

Type: Microsoft.SharePoint.BusinessData.Administration.TypeDescriptor
A new TypeDescriptor object.

Examples

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

See also

Reference

Parameter class

Parameter members

Microsoft.SharePoint.BusinessData.Administration namespace