Partager via


OrganizationServiceExtensions.RetrieveEntity Method (IOrganizationService, String, EntityFilters, Boolean)

 

Applies To: Dynamics CRM 2015

Namespace:   Microsoft.Xrm.Client.Services
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static EntityMetadata RetrieveEntity(
    this IOrganizationService service,
    string logicalName,
    EntityFilters entityFilters = ,
    bool retrieveAsIfPublished = false
)
public:
[ExtensionAttribute]
static EntityMetadata^ RetrieveEntity(
    IOrganizationService^ service,
    String^ logicalName,
    EntityFilters entityFilters = ,
    bool retrieveAsIfPublished = false
)
static member RetrieveEntity : 
        service:IOrganizationService *
        logicalName:string *
        entityFilters:EntityFilters =  *
        retrieveAsIfPublished:bool = false -> EntityMetadata
<ExtensionAttribute>
Public Shared Function RetrieveEntity (
    service As IOrganizationService,
    logicalName As String,
    entityFilters As EntityFilters,
    retrieveAsIfPublished As Boolean
) As EntityMetadata

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Metadata.EntityMetadata

Type: EntityMetadata
.

See Also

RetrieveEntity Overload
OrganizationServiceExtensions Class
Microsoft.Xrm.Client.Services Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright