Udostępnij za pośrednictwem


RetrieveByResourcesServiceRequest.Query Property

 

Applies To: Dynamics CRM 2015

Gets or sets the query for the operation.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public QueryBase Query { get; set; }
public:
property QueryBase^ Query {
    QueryBase^ get();
    void set(QueryBase^ value);
}
member Query : QueryBase with get, set
Public Property Query As QueryBase

Property Value

Type: Microsoft.Xrm.Sdk.Query.QueryBase

Type: QueryBase
The query for the operation.

Remarks

The query must specify the entity name "service" and a column set. Any other specified conditions are merged (by using the AND operator) with the conditions that are needed to retrieve the services for the specified resources. If the column set includes attributes where IsValidForRead is false, they are ignored and the message response contains no data for those attributes.

See Also

RetrieveByResourcesServiceRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright