CrmServiceClient.GetEntityTypeCode Method (String)


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets the typecode of an entity by name.

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)


public string GetEntityTypeCode(
    string entityName
Public Function GetEntityTypeCode (
    entityName As String
) As String


  • entityName
    Type: System.String

    name of the entity to get the type code on

Return Value

Type: System.String

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright