Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the ConstraintRelation class that sets the object ID, constraint type, and constraints.
Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Syntax
public ConstraintRelation(
    Guid objectId,
    string constraintType,
    string constraints
)
Public Sub New (
    objectId As Guid,
    constraintType As String,
    constraints As String
)
Parameters
- objectId 
 Type: System.Guid- Type: Guid. The ID of the calendar rule. 
- constraintType 
 Type: System.String- Type: String. The constraint type. Must be "Resource Selection". 
- constraints 
 Type: System.String- Type: String. The set of constraints. 
See Also
ConstraintRelation Overload
ConstraintRelation Class
Microsoft.Crm.Sdk.Messages Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright