Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the external content type pointed to by the reference and returns a a null reference (Nothing in Visual Basic) reference if the external content type is not found.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function TryGetEntity As Entity
'Usage
Dim instance As EntityReference
Dim returnValue As Entity
returnValue = instance.TryGetEntity()
public Entity TryGetEntity()
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.Entity
The external content type.
Remarks
This method provides the same result that you get when you call GetEntity(Boolean) with a Boolean parameter of false.