Partager via


SubCode Enumeration

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains the possible values for a subcode, used in scheduling appointments.

For the Web API use the SubCode EnumType.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public enum SubCode
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public Enumeration SubCode

Members

Member name Description
Appointment

A block of time that is already scheduled for an appointment. Value = 7.

Break

A block of time that cannot be committed due to a scheduled break. Value = 4.

Committed

A block of time that is committed to perform an action. Value = 2.

Holiday

A block of time that cannot be scheduled due to a scheduled holiday. Value = 5.

ResourceCapacity

Specifies the capacity of a resource for the specified time interval. Value = 10.

ResourceServiceRestriction

A restriction for a resource for the specified service. Value = 9.

ResourceStartTime

Specifies to filter a resource start time. Value = 8.

Schedulable

A schedulable block of time. Value = 1.

ServiceCost

An override to the service cost for the specified time block. Value = 12.

ServiceRestriction

Specifies that a service is restricted during the specified block of time. Value = 11.

Uncommitted

A block of time that is tentatively scheduled but not committed. Value = 3.

Unspecified

Specifies free time with no specified restrictions. Value = 0.

Vacation

A block of time that cannot be scheduled due to a scheduled vacation. Value = 6.

See Also

SubCode
QueryScheduleResponse
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright