Condividi tramite


DeleteOpenInstancesRequest.StateOfPastInstances Property

 

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

Gets or sets the value to be used to set the status of appointment instances that have already passed. Required.

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

Syntax

public int StateOfPastInstances { get; set; }
Public Property StateOfPastInstances As Integer

Property Value

Type: System.Int32

Type: DateTime
The status code. The value should be one of the option set values for the RecurringAppointmentMaster.StateCode attribute. For more information, see the metadata for this entity. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.

Remarks

If you are using the generated enumerations, use RecurringAppointmentMasterState to set this property. For more information about generating enumerations, see Helper code: Enumerations for option sets.

See Also

DeleteOpenInstancesRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright