Jaa


OrganizationServiceContextExtensions.RetrieveAttribute Method (OrganizationServiceContext, String, String, Boolean)

 

Applies To: Dynamics CRM 2015

Retrieves the metadata for the specified attribute. (Developer Extensions)

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

Syntax

public static AttributeMetadata RetrieveAttribute(
    this OrganizationServiceContext service,
    string entityLogicalName,
    string logicalName,
    bool retrieveAsIfPublished = false
)
public:
[ExtensionAttribute]
static AttributeMetadata^ RetrieveAttribute(
    OrganizationServiceContext^ service,
    String^ entityLogicalName,
    String^ logicalName,
    bool retrieveAsIfPublished = false
)
static member RetrieveAttribute : 
        service:OrganizationServiceContext *
        entityLogicalName:string *
        logicalName:string *
        retrieveAsIfPublished:bool = false -> AttributeMetadata
<ExtensionAttribute>
Public Shared Function RetrieveAttribute (
    service As OrganizationServiceContext,
    entityLogicalName As String,
    logicalName As String,
    retrieveAsIfPublished As Boolean
) As AttributeMetadata

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Metadata.AttributeMetadata

Returns AttributeMetadata.

Remarks

This is a method wrapper for the RetrieveAttributeRequest and RetrieveAttributeResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright