Partager via


SetStateRequest.Status Property

 

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

Gets or sets the status that corresponds to the State property. Required.

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

Syntax

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

Property Value

Type: Microsoft.Xrm.Sdk.OptionSetValue

Type: OptionSetValue
The status that corresponds to the State property.

Remarks

The Status property corresponds to the StatusCode attribute of an entity. It is shown as the Status Reason in the Microsoft Dynamics 365 application. If you set the value of this property to -1, the system sets the appropriate corresponding status value. For a list of the status 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