ConstraintRelation Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Specifies additional constraints to be applied when you select resources for appointments.
For the Web API the corresponding type is ConstraintRelation ComplexType.
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 NotInheritable Class ConstraintRelation
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
ConstraintRelation() | Initializes a new instance of theConstraintRelation class. |
|
ConstraintRelation(Guid, String, String) | Initializes a new instance of the ConstraintRelation class that sets the object ID, constraint type, and constraints. |
Properties
Name | Description | |
---|---|---|
Constraints | Gets or sets the set of additional constraints. |
|
ConstraintType | Gets or sets the type of constraints. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
ObjectId | Gets or sets the ID of the calendar rule to which the constraint is applied. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright