Parameter.CreateRootTypeDescriptor Method
Creates a root TypeDescriptor object for this parameter.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.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.StringThe name of the root TypeDescriptor object.
isCached
Type: System.BooleanBoolean value indicating whether the TypeDescriptor object should be cached for run-time use.
typeName
Type: System.StringThe .NET Type name.
lobName
Type: System.StringThe External System name.
identifierReference
Type: Microsoft.SharePoint.BusinessData.Administration.Client.IdentifierReferenceThe identifier reference, if this parameter or column represents an identifier.
filterDescriptor
Type: Microsoft.SharePoint.BusinessData.Administration.Client.FilterDescriptorThe FilterDescriptor object, if this parameter or column represents a filter.
flags
Type: Microsoft.BusinessData.MetadataModel.TypeDescriptorFlagsThe type descriptor flags used with this parameter.
associationReference
Type: Microsoft.SharePoint.BusinessData.Administration.Client.AssociationReferenceThe association reference of this parameter.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.Client.AdministrationMetadataCatalogThe metadata store name.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.Client.TypeDescriptor
A new TypeDescriptor object.
See Also
Reference
Microsoft.SharePoint.BusinessData.Administration.Client Namespace