EntityReference.GetEntity method
Gets the external content type.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetEntity As Entity
'Usage
Dim instance As EntityReference
Dim returnValue As Entity
returnValue = instance.GetEntity()
public Entity GetEntity()
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.Entity
The external content type.
Exceptions
Exception | Condition |
---|---|
MetadataObjectNotFoundException | The external content type cannot be found. |
ArgumentException | If the name or namespace contains more than 255 characters. |