Compartilhar via


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.

See Also

Reference

EntityReference Class

EntityReference Members

GetEntity Overload

Microsoft.SharePoint.BusinessData.Administration Namespace