ConstraintRelation Constructors

Definition

Overloads

ConstraintRelation()

Initializes a new instance of the ConstraintRelation class.

ConstraintRelation(Guid, String, String)

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

ConstraintRelation()

Initializes a new instance of the ConstraintRelation class.

public:
 ConstraintRelation();
public ConstraintRelation ();
Public Sub New ()

Applies to

ConstraintRelation(Guid, String, String)

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

public:
 ConstraintRelation(Guid objectId, System::String ^ constraintType, System::String ^ constraints);
public ConstraintRelation (Guid objectId, string constraintType, string constraints);
new Microsoft.Crm.Sdk.Messages.ConstraintRelation : Guid * string * string -> Microsoft.Crm.Sdk.Messages.ConstraintRelation
Public Sub New (objectId As Guid, constraintType As String, constraints As String)

Parameters

objectId
Guid

The ID of the calendar rule.

constraintType
String

The constraint type. Must be "Resource Selection".

constraints
String

The set of constraints.

Applies to