ConstraintRelation Constructor (Guid, String, String)


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)


public ConstraintRelation(
    Guid objectId,
    string constraintType,
    string constraints
Public Sub New (
    objectId As Guid,
    constraintType As String,
    constraints As String


  • constraintType
    Type: System.String

    Type: String. The constraint type. Must be "Resource Selection".

See Also

ConstraintRelation Overload
ConstraintRelation Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright