Condividi tramite


DatabaseBackedMetadataCatalog.GetEntities Method (String)

Gets the external content types whose names match the specified wildcard string.

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

Syntax

'Declaration
Public Function GetEntities ( _
    wildcardedName As String _
) As INamespacedEntityDictionaryDictionary
'Usage
Dim instance As DatabaseBackedMetadataCatalog
Dim wildcardedName As String
Dim returnValue As INamespacedEntityDictionaryDictionary

returnValue = instance.GetEntities(wildcardedName)
public INamespacedEntityDictionaryDictionary GetEntities(
    string wildcardedName
)

Parameters

Return Value

Type: Microsoft.BusinessData.MetadataModel.Collections.INamespacedEntityDictionaryDictionary
The external content types whose names match the specified wildcard string.

Implements

IMetadataCatalog.GetEntities(String)

Remarks

BDC uses ‘*’ as the wildcard character and the ‘\’ as the escape character. For example, to obtain all external content types which have names starting with “C”, and ending with “s*12”, this method should be called with “C*s\*12”. This will return both “Customers*12” and “Cs*12”, but not “CratesOf12” or “Cs\*12”.

Object instances obtained from an instance of DatabaseBackedMetadataCatalog for a BdcServiceApplicationProxy can only be used with object instances obtained from instances of DatabaseBackedMetadataCatalog for the same BdcServiceApplicationProxy. Using incompatible object instances with each other causes data corruption and other unexpected behavior.

See Also

Reference

DatabaseBackedMetadataCatalog Class

DatabaseBackedMetadataCatalog Members

GetEntities Overload

Microsoft.SharePoint.BusinessData.MetadataModel Namespace