مشاركة عبر


IOrganizationService Interface

 

Applies To: Dynamics CRM 2015

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 class IOrganizationService
[<ServiceContractAttribute(Name = "IOrganizationService", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Services")>]
type IOrganizationService = interface end
<ServiceContractAttribute(Name := "IOrganizationService", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Services")>
Public Interface IOrganizationService

Methods

Name Description
System_CAPS_pubmethod Associate(String, Guid, Relationship, EntityReferenceCollection)

Creates a link between records.

System_CAPS_pubmethod Create(Entity)

Creates a record.

System_CAPS_pubmethod Delete(String, Guid)

Deletes a record.

System_CAPS_pubmethod Disassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records.

System_CAPS_pubmethod Execute(OrganizationRequest)

Executes a message in the form of a request, and returns a response.

System_CAPS_pubmethod Retrieve(String, Guid, ColumnSet)

Retrieves a record.

System_CAPS_pubmethod RetrieveMultiple(QueryBase)

Retrieves a collection of records.

System_CAPS_pubmethod Update(Entity)

Updates an existing record.

See Also

Microsoft.Xrm.Sdk Namespace
Use the IOrganizationService web 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

© 2016 Microsoft. All rights reserved. Copyright