EntityReference.GetEntity Method
Gets the external content type.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.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.Client.Entity
The external content type.
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.BusinessData.Administration.EntityReference.MetadataObjectNotFoundException] | The external content type cannot be found. |
ArgumentException | If the name or namespace contains more than 255 characters. |
See Also
Reference
Microsoft.SharePoint.BusinessData.Administration.Client Namespace