Dela via


LogicalOperator Enumeration

 

Applies To: Dynamics CRM 2015

Contains the possible values for an operator in a FilterExpression.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataContractAttribute(Name = "LogicalOperator", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public enum LogicalOperator
[DataContractAttribute(Name = "LogicalOperator", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public enum class LogicalOperator
[<DataContractAttribute(Name = "LogicalOperator", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type LogicalOperator
<DataContractAttribute(Name := "LogicalOperator", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public Enumeration LogicalOperator

Members

Member name Description
And

A logical AND operation is performed. Value = 0.

Or

A logical OR operation is performed. Value = 1.

See Also

Microsoft.Xrm.Sdk.Query Namespace
Test for a null value
Use the FilterExpression class
Sample: Query connections by reciprocal roles (early bound)
Sample: Retrieve records from an intersect table

Return to top

© 2016 Microsoft. All rights reserved. Copyright