DeletionStateCode Class (CrmHelpers)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity property values.

The DeletionStateCode class exposes the following members.

Field Value Description
Active 0 Specifies that the object is live in the database.
HardDelete 2 Specifies that the object is marked for removal on the next sweep.
SoftDelete 1 Not supported in this version.

Remarks

This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.

Requirements

Filename: enums.cs

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.