Clase de RetrieveOrganizationRequest
Se aplica a: CRM 2015 on-prem, CRM Online
Contains the data that is needed to retrieve information about an organization.
Espacio de nombres: Microsoft.Xrm.Sdk.Discovery
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
<DataContractAttribute(Name:="RetrieveOrganizationRequest", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")> _
Public NotInheritable Class RetrieveOrganizationRequest
Inherits DiscoveryRequest
[DataContractAttribute(Name="RetrieveOrganizationRequest", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")]
public sealed class RetrieveOrganizationRequest : DiscoveryRequest
Ejemplo
// Retrieve details about a single organization discoverable via the Discovery service.
//
RetrieveOrganizationRequest orgRequest =
new RetrieveOrganizationRequest()
{
UniqueName = organizations.Details[organizations.Details.Count -1].UniqueName,
AccessType = EndpointAccessType.Default,
Release = OrganizationRelease.Current
};
RetrieveOrganizationResponse org =
(RetrieveOrganizationResponse)service.Execute(orgRequest);
Comentarios
Message Availability
Para que este mensaje funcione, el autor de la llamada debe estar conectado al servidor.
Usage
Pass an instance of this class to the Execute method.
Privileges and Access Rights
To perform this action, the caller must have a system user account in Microsoft Dynamics CRM.
Jerarquía heredada
System.Object
Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest
Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationRequest
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
Change History
Vea también
Referencia
Miembros de RetrieveOrganizationRequest
Espacio de nombres de Microsoft.Xrm.Sdk.Discovery
RetrieveOrganizationResponse
Otros recursos
Discover the URL for Your Organization With IDiscoveryService Web Service
Discovery Service Messages (Request and Response Classes)
Sample: Access the Discovery Service
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.