IOrganizationService Interface
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Provides programmatic access to the metadata and data for an organization.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[ServiceContractAttribute(Name = "IOrganizationService", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Services")]
public interface IOrganizationService
<ServiceContractAttribute(Name := "IOrganizationService", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Services")>
Public Interface IOrganizationService
Methods
Name | Description | |
---|---|---|
Associate(String, Guid, Relationship, EntityReferenceCollection) | Creates a link between records. |
|
Create(Entity) | Creates a record. |
|
Delete(String, Guid) | Deletes a record. |
|
Disassociate(String, Guid, Relationship, EntityReferenceCollection) | Deletes a link between records. |
|
Execute(OrganizationRequest) | Executes a message in the form of a request, and returns a response. |
|
Retrieve(String, Guid, ColumnSet) | Retrieves a record. |
|
RetrieveMultiple(QueryBase) | Retrieves a collection of records. |
|
Update(Entity) | Updates an existing record. |
See Also
Microsoft.Xrm.Sdk Namespace
Use the Organization Service to read and write data or metadata
Use the IOrganization web service in a custom workflow activity
Sample: Create, retrieve, update, and delete records (early bound)
Troubleshooting and error handling
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright