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)
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.GuidType: Guid. The ID of the calendar rule.
constraintType
Type: System.StringType: String. The constraint type. Must be "Resource Selection".
constraints
Type: System.StringType: 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