Metodo IDiscoveryService.Execute
Si applica a: CRM 2015 on-prem, CRM Online
Executes a discovery service message in the form of a request, and returns a response.
Spazio dei nomi: Microsoft.Xrm.Sdk.Discovery
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Sintassi
'Dichiarazione
<OperationContractAttribute> _
<FaultContractAttribute(GetType(DiscoveryServiceFault))> _
Function Execute ( _
request As DiscoveryRequest _
) As DiscoveryResponse
[OperationContractAttribute]
[FaultContractAttribute(typeof(DiscoveryServiceFault))]
DiscoveryResponse Execute (
DiscoveryRequest request
)
Parametri
- request
Type: DiscoveryRequest. A request instance that defines the action to be performed.
Valore restituito
Type: DiscoveryResponse.
The response from processing the request. You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter.
Note
Privileges and Access Rights
To execute a message, the caller must have a system user account on the Microsoft Dynamics CRM server.
Method Availability
This method works only when connected to the server.
Thread Safety
Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.
Piattaforme
Piattaforme di sviluppo
Windows Vista, Windows Server 2003 e
Piattaforme di destinazione
Windows Vista,Windows XP
Vedere anche
Riferimento
Interfaccia IDiscoveryService
Membri IDiscoveryService
Spazio dei nomi Microsoft.Xrm.Sdk.Discovery
Altre risorse
Discovery Service Messages (Request and Response Classes)
Sample: Access the Discovery Service
Handle Exceptions in Your Code
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.