ConstraintRelation Constructor (Guid, String, String)

 

Applies To: Dynamics CRM 2015

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:
ConstraintRelation(
    Guid objectId,
    String^ constraintType,
    String^ constraints
)
new : 
        objectId:Guid *
        constraintType:string *
        constraints:string -> ConstraintRelation
Public Sub New (
    objectId As Guid,
    constraintType As String,
    constraints As String
)

Parameters

  • 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

© 2016 Microsoft. All rights reserved. Copyright