Share via


ConstraintRelation Class

 

Applies To: Dynamics CRM 2015

Specifies additional constraints to be applied when you select resources for appointments.

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

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Sdk.Messages.ConstraintRelation

Syntax

[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class ConstraintRelation : IExtensibleDataObject
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public ref class ConstraintRelation sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")>]
type ConstraintRelation = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class ConstraintRelation
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod ConstraintRelation()

Initializes a new instance of theConstraintRelation class.

System_CAPS_pubmethod ConstraintRelation(Guid, String, String)

Initializes a new instance of the ConstraintRelation class that sets the object ID, constraint type, and constraints.

Properties

Name Description
System_CAPS_pubproperty Constraints

Gets or sets the set of additional constraints.

System_CAPS_pubproperty ConstraintType

Gets or sets the type of constraints.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty ObjectId

Gets or sets the ID of the calendar rule to which the constraint is applied.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Constraints
Constraints
Microsoft.Crm.Sdk.Messages Namespace
Calendar entities

Return to top

© 2016 Microsoft. All rights reserved. Copyright