Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Se aplica a: CRM 2015 on-prem, CRM Online
Creates a record.
Espacio de nombres: Microsoft.Xrm.Sdk.Client
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
Public Function Create ( _
entity As Entity _
) As Guid
public Guid Create (
Entity entity
)
Parámetros
- entity
Type: Entity. An entity instance that contains the properties to set in the newly created record.
Valor de retorno
Type: Guid
The ID of the created entity.
Comentarios
The core implementation of the Create method. For more information, see IOrganizationService.Create.
For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.
Seguridad de hilo
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.
Plataformas
Plataformas de desarrollo
Windows Vista, Windows Server 2003 y
Plataformas de destino
Windows Vista,Windows XP
Vea también
Referencia
Clase de OrganizationServiceProxy
Miembros de OrganizationServiceProxy
Espacio de nombres de Microsoft.Xrm.Sdk.Client
Otros recursos
Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.