次の方法で共有


CrmServiceClient.UpdateStateAndStatusForEntity Method

Definition

Overloads

UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid)

Updates the State and Status of the Entity passed in.

UpdateStateAndStatusForEntity(String, Guid, String, String, Guid)

Updates the State and Status of the Entity passed in.

UpdateStateAndStatusForEntity(String, Guid, Int32, Int32, Guid)

Updates the State and Status of the Entity passed in.

public bool UpdateStateAndStatusForEntity (string entName, Guid id, int stateCode, int statusCode, Guid batchId = default);
member this.UpdateStateAndStatusForEntity : string * Guid * int * int * Guid -> bool
Public Function UpdateStateAndStatusForEntity (entName As String, id As Guid, stateCode As Integer, statusCode As Integer, Optional batchId As Guid = Nothing) As Boolean

Parameters

entName
String

Name of the entity

id
Guid

Guid ID of the entity you are updating

stateCode
Int32

Int version of the new state

statusCode
Int32

Int Version of the new status

batchId
Guid

Optional : Batch ID to attach this request too.

Returns

true on success.

Applies to

UpdateStateAndStatusForEntity(String, Guid, String, String, Guid)

Updates the State and Status of the Entity passed in.

public bool UpdateStateAndStatusForEntity (string entName, Guid id, string stateCode, string statusCode, Guid batchId = default);
member this.UpdateStateAndStatusForEntity : string * Guid * string * string * Guid -> bool
Public Function UpdateStateAndStatusForEntity (entName As String, id As Guid, stateCode As String, statusCode As String, Optional batchId As Guid = Nothing) As Boolean

Parameters

entName
String

Name of the entity

id
Guid

Guid ID of the entity you are updating

stateCode
String

String version of the new state

statusCode
String

String Version of the new status

batchId
Guid

Optional : Batch ID to attach this request too.

Returns

true on success.

Applies to