Share via


DeleteOpenInstancesRequest.StateOfPastInstances Property

Applies To: Microsoft Dynamics CRM 2013, Microsoft 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

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

Property Value

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 tools 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

DeleteOpenInstancesRequest Class
DeleteOpenInstancesRequest Members
Microsoft.Crm.Sdk.Messages Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.