AdministrationMetadataCatalog.GetEntityVersion method
Gets the external content type by using its name, namespace, and version.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetEntityVersion ( _
namespace As String, _
name As String, _
version As Version _
) As Entity
'Usage
Dim instance As AdministrationMetadataCatalog
Dim namespace As String
Dim name As String
Dim version As Version
Dim returnValue As Entity
returnValue = instance.GetEntityVersion(namespace, _
name, version)
public Entity GetEntityVersion(
string namespace,
string name,
Version version
)
Parameters
namespace
Type: System.StringThe namespace of the external content type to get.
name
Type: System.StringThe name of the external content type to get.
version
Type: System.VersionThe version of the external content type to get.
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.Entity
The specified external content type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The namespace or name parameter is a null reference (Nothing in Visual Basic). |
ArgumentException | The namespace or name contain more than 255 characters. |
MetadataObjectNotFoundException | The specified external content type does not exist in the Metadata Store. |
See also
Reference
AdministrationMetadataCatalog class