OrganizationService.Update Kaedah

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Updates an existing record. (Developer Extensions)

Ruang nama: Microsoft.Xrm.Client.Services
Perhimpunan: Microsoft.Xrm.Client (dalam Microsoft.Xrm.Client.dll)

'Penggunaan
Dim instance As OrganizationService
Dim entity As Entity

instance.Update(entity)

public virtual void Update (
	Entity entity
)

Parameter

entity

An entity instance that has one or more properties set to be updated in the record.

This is a wrapper for the IOrganizationService. Update Method.

Message Availability

Mesej ini berfungsi tidak kira sama ada pemanggil disambungkan kepada pelayan atau di luar talian.

Not all entity types support this message offline. See Supported Entities later in this topic.

Privileges and Access Rights

To perform this action, the caller must have privileges on the entity and access rights on the record specified in the Update parameter.. For a list of the required privileges, see Update Privileges.

Notes for Callers

If the entity instance includes properties that are not valid for update, they are ignored. Anda boleh mencari maklumat ini dalam metadata untuk organisasi anda. Lihat maklumat pelayar metadata sebelumnya.

You can use this method to update any record of an entity that supports the Update message, including custom entities.

For more information about the exceptions that can be thrown when this method is called, see Handle Exceptions in Your Code.

Supported Entities

Jadual berikut menunjukkan entiti lalai yang menyokong mesej ini. Bagi entiti-entiti mesej ini yang tersenarai, kolum Ketersediaan menunjukkan Pelayan jika pemanggil perlu disambungkan ke pelayan dan menunjukkan Kedua-duanya jika pemanggil sama ada disambungkan atau terputus hubungan daripada pelayan.


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 Server 2008,Windows Server 2012,Windows 7

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