CrmServiceClient.CreateOrUpdatePickListElement Kaedah

Adds an option to a pick list on an entity.

Ruang nama: Microsoft.Xrm.Tooling.Connector
Perhimpunan: Microsoft.Xrm.Tooling.Connector (dalam Microsoft.Xrm.Tooling.Connector.dll)

public bool CreateOrUpdatePickListElement (
	string targetEntity,
	string attribName,
	List<LocalizedLabel> locLabelList,
	int valueData,
	bool publishOnComplete
)

Parameter

targetEntity

Entity Name to Target

attribName

Attribute Name on the Entity

locLabelList

List of Localized Labels

valueData

integer Value

publishOnComplete

Publishes the Update to the Live system.. note this is a time consuming process.. if you are doing a batch up updates, call PublishEntity Separately when you are finished.

Nilai Pulangan

true on success, on fail check last error.

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Pelayan Windows 2000,Windows CE,Windows Server 2008,Windows 98 Edisi Kedua,Pocket PC,Telefon Pintar,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Tunjukkan: