应用到: CRM 2015 on-prem, CRM Online
Updates the State and Status of the Entity passed in.
命名空间: Microsoft.Xrm.Tooling.Connector
程序集: Microsoft.Xrm.Tooling.Connector (在 Microsoft.Xrm.Tooling.Connector.dll 中)
语法
声明
Public Function UpdateStateAndStatusForEntity ( _
entName As String, _
id As Guid, _
stateCode As String, _
statusCode As String, _
<OptionalAttribute> Optional batchId As Guid = Nothing _
) As Boolean
public bool UpdateStateAndStatusForEntity (
string entName,
Guid id,
string stateCode,
string statusCode,
[OptionalAttribute] Guid batchId
)
参数
- entName
Name of the entity
- id
Guid ID of the entity you are updating
- stateCode
String version of the new state
- statusCode
String Version of the new status
- batchId
Optional : Batch ID to attach this request too.
返回值
true on success.
线程安全性
此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,智能电话,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP
另请参阅
参考
CrmServiceClient 类
CrmServiceClient 成员
Microsoft.Xrm.Tooling.Connector 命名空间
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.