Udostępnij za pośrednictwem


LastXYears Function

 

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

Query function to evaluate whether the value is within the last X years.

LastXYears function is not bound to any entity types.

Parameters

Parameters allow for data to be passed to the function.

Name

Type

Nullable

Unicode

Description

PropertyName

Edm.String

false

false

The name of the property to evaluate.

PropertyValue

Edm.Int64

false

The value to compare.

Return Type

The LastXYears function returns the following value.

Type

Nullable

Description

Edm.Boolean

false

Whether the value is within the last X years.

See Also

Use Web API functions
Query Data using the Web API
Web API EntityType Reference
Web API Action Reference
Web API Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright