MetadataExtensions.GetEntityTypeCode(ServiceClient, String) Method

Definition

Gets the typecode of an entity by name.

public static string GetEntityTypeCode (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, string entityName);
static member GetEntityTypeCode : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string -> string
<Extension()>
Public Function GetEntityTypeCode (serviceClient As ServiceClient, entityName As String) As String

Parameters

serviceClient
ServiceClient

ServiceClient

entityName
String

name of the entity to get the type code on

Returns

Applies to