Partager via


InsertStatusValueRequest.StateCode Property

 

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

Gets or sets the state code for the new status. Required.

Namespace:   Microsoft.Xrm.Sdk.Messages
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

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

Property Value

Type: System.Int32

Type: Int32
The state code for the new status. Required.

Remarks

The value must represent a valid option in the StateAttributeMetadata attribute in the same entity.

See Also

InsertStatusValueRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright