Partilhar via


SetStateRequest.State Property

 

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

Gets or sets the state of the entity record. Required.

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

Syntax

public OptionSetValue State { get; set; }
Public Property State As OptionSetValue

Property Value

Type: Microsoft.Xrm.Sdk.OptionSetValue

Type: OptionSetValue
The state of the entity record.

Remarks

The State property corresponds to the StateCode attribute of an entity. It specifies the possible states for an entity record. It is shown as the Status in the Microsoft Dynamics 365 application. For a list of the state values, refer to the entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information.More information: Record state and status.

See Also

SetStateRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright