CrmOrganizationServiceContext Class

 

Applies To: Dynamics CRM 2015

Extensions to the core OrganizationServiceContext class. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Client.OrganizationServiceContext
    Microsoft.Xrm.Client.CrmOrganizationServiceContext

Syntax

public class CrmOrganizationServiceContext : OrganizationServiceContext, 
    IInitializable, IOrganizationService, IUpdatable, IExpandProvider, 
    IOrganizationServiceContainer
public ref class CrmOrganizationServiceContext : OrganizationServiceContext, 
    IInitializable, IOrganizationService, IUpdatable, IExpandProvider, 
    IOrganizationServiceContainer
type CrmOrganizationServiceContext = 
    class
        inherit OrganizationServiceContext
        interface IInitializable
        interface IOrganizationService
        interface IUpdatable
        interface IExpandProvider
        interface IOrganizationServiceContainer
    end
Public Class CrmOrganizationServiceContext
    Inherits OrganizationServiceContext
    Implements IInitializable, IOrganizationService, IUpdatable, IExpandProvider,
    IOrganizationServiceContainer

Constructors

Name Description
System_CAPS_pubmethod CrmOrganizationServiceContext()

Initializes a new instance of the CrmOrganizationServiceContext class.

System_CAPS_pubmethod CrmOrganizationServiceContext(CrmConnection)

Initializes a new instance of the CrmOrganizationServiceContext class.

System_CAPS_pubmethod CrmOrganizationServiceContext(IOrganizationService)

Initializes a new instance of the CrmOrganizationServiceContext class.

System_CAPS_pubmethod CrmOrganizationServiceContext(String)

Initializes a new instance of the CrmOrganizationServiceContext class.

Properties

Name Description
System_CAPS_pubproperty MergeOption

(Inherited from OrganizationServiceContext.)

System_CAPS_protproperty QueryProvider

(Inherited from OrganizationServiceContext.)

System_CAPS_pubproperty SaveChangesDefaultOptions

(Inherited from OrganizationServiceContext.)

Methods

Name Description
System_CAPS_pubmethod AddLink(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod AddObject(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod AddRelatedObject(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Associate(String, Guid, Relationship, EntityReferenceCollection)

Creates a link between records (entity instances). (Developer Extensions)

System_CAPS_pubmethod Attach(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod AttachLink(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod ClearChanges()

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Create(Entity)

Creates a record. (Developer Extensions)

System_CAPS_pubmethod CreateQuery(String)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod CreateQuery<TEntity>()

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod CreateQuery<TEntity>(IQueryProvider, String)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Delete(String, Guid)

Deletes a record. (Developer Extensions)

System_CAPS_pubmethod DeleteLink(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod DeleteObject(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod DeleteObject(Entity, Boolean)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Detach(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Detach(Entity, Boolean)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod DetachLink(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Disassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records. (Developer Extensions)

System_CAPS_pubmethod Dispose()

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod Dispose(Boolean)

Disposes the service context. (Developer Extensions)(Overrides OrganizationServiceContext.Dispose(Boolean).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Execute(OrganizationRequest)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod Finalize()

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod GetAttachedEntities()

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize(String, NameValueCollection)

Initializes custom settings.

System_CAPS_pubmethod IsAttached(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod IsAttached(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod IsDeleted(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod IsDeleted(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod LoadProperty(Entity, Relationship)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod LoadProperty(Entity, String)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnBeginEntityTracking(Entity)

Method called when entity tracking begins. (Developer Extensions)(Overrides OrganizationServiceContext.OnBeginEntityTracking(Entity).)

System_CAPS_protmethod OnBeginLinkTracking(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod OnEndEntityTracking(Entity)

Method called when entity tracking ends. (Developer Extensions)(Overrides OrganizationServiceContext.OnEndEntityTracking(Entity).)

System_CAPS_protmethod OnEndLinkTracking(Entity, Relationship, Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod OnExecute(OrganizationRequest, Exception)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod OnExecute(OrganizationRequest, OrganizationResponse)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod OnExecuting(OrganizationRequest)

(Inherited from OrganizationServiceContext.)

System_CAPS_protmethod OnSaveChanges(SaveChangesResultCollection)

Method called after an attempt to save data changes. (Developer Extensions)(Overrides OrganizationServiceContext.OnSaveChanges(SaveChangesResultCollection).)

System_CAPS_protmethod OnSavingChanges(SaveChangesOptions)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod Retrieve(String, Guid, ColumnSet)

Retrieves a record. (Developer Extensions)

System_CAPS_pubmethod RetrieveMultiple(QueryBase)

Retrieves a collection of records. (Developer Extensions)

System_CAPS_pubmethod SaveChanges()

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod SaveChanges(SaveChangesOptions)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod Update(Entity)

Updates an existing record. (Developer Extensions)

System_CAPS_pubmethod UpdateObject(Entity)

(Inherited from OrganizationServiceContext.)

System_CAPS_pubmethod UpdateObject(Entity, Boolean)

(Inherited from OrganizationServiceContext.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IOrganizationService.Execute(OrganizationRequest)

Executes a message in the form of a request, and returns a response. (Developer Extensions)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IExpandProvider.ApplyExpansions(IQueryable, ICollection<ExpandSegmentCollection>)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.AddReferenceToCollection(Object, String, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.ClearChanges()

Clears all tracking of entities by the OrganizationServiceContext.

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.CreateResource(String, String)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.DeleteResource(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.GetResource(IQueryable, String)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.GetValue(Object, String)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.RemoveReferenceFromCollection(Object, String, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.ResetResource(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.ResolveResource(Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.SaveChanges()

Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics CRM.

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.SetReference(Object, String, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IUpdatable.SetValue(Object, String, Object)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IOrganizationServiceContainer.Service

Gets the organization service interface. (Developer Extensions)

Extension Methods

Name Description
System_CAPS_pubmethod AddItemCampaign(Guid, Guid, String)

Adds an item to a campaign. The item added must be one of the following entity types: campaign, list, product, or salesliterature. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddItemCampaignActivity(Guid, Guid, String)

Adds an item to a campaign activity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddLink(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. Adds a link between two entity instances.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddLink<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. Adds a link between two entity instances.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddListMembersList(Guid, Guid[])

Adds a list of members to a list. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddMemberList(Guid, Guid)

Adds a member to a list. The member added must be one of the following entity types: account, contact, or lead. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddMembersTeam(Guid, Guid[])

Adds members to a team. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddPrivilegesRole(Guid, Object)

Adds a set of existing privileges to an existing role. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddProductToKit(Guid, Guid)

Adds a product to a kit. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddRecurrence(Entity, Guid)

Adds recurrence information to an existing appointment to make it a recurring appointment master. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddRelatedObject(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. (Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddRelatedObject<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. (Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddRelatedObject<TSource, TTarget>(TSource, Expression<Func<TSource, IEnumerable<TTarget>>>, TTarget)

Overloaded. (Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddSolutionComponent(Guid, Int32, String, Boolean)

Adds a solution component to an unmanaged solution. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddSubstituteProduct(Guid, Guid)

Deprecated. Establishes an association between a product and a substitute product. Use Associate. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AddToQueue(EntityReference, Guid, Guid, Entity)

Moves a record from a source queue to a destination queue. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Assign(EntityReference, EntityReference)

Assigns the specified record to a new security principal (user). This changes the ownerid attribute of the instance. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AssociateEntities(EntityReference, EntityReference, String)

Deprecated. Adds a link between two records in a many-to-many relationship. Use Associate. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AttachClone<T>(T, Boolean)

Clones an arbitrary source entity and attaches it to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AttachLink(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. Attaches a two entity instances.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AttachLink<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. Attaches a two entity instances.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod AutoMapEntity(Guid)

Creates the attribute mappings between two entities. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod BackgroundSendEmail<TResponse>(QueryBase)

Sends an email asynchronously. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Book<TResult>(Entity)

Schedules or "books" an appointment. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod BulkDelete(QueryExpression[], String, Boolean, Guid[], Guid[], String, DateTime, Nullable<Guid>)

Submits an asynchronous bulk delete job. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod BulkDetectDuplicates(QueryBase, String, Boolean, Guid, Guid[], Guid[], String, DateTime)

Submits an asynchronous duplicates detection job. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod BulkOperationStatusClose(Guid, Int32, Int32, Int32, Int32)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CalculateActualValueOpportunity(Guid)

Calculates the value of an opportunity that is in the "Won" state. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CalculateTotalTimeIncident(Guid)

Calculates the total number of minutes spent on an incident (case). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CancelContract(Guid, DateTime, OptionSetValue)

Cancels a contract. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CancelSalesOrder(Entity, OptionSetValue)

Cancels a sales order. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CheckIncomingEmail<TResponse>(String, String, String, String, String, String)

Checks whether the incoming email message is relevant to the Microsoft Dynamics CRM system. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CheckPromoteEmail<TResponse>(String, String)

Checks whether the incoming email message should be promoted to the Microsoft Dynamics CRM system. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CleanUpBulkOperation(Guid, Int32)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CloneContract(Guid, Boolean)

Copies an existing contract and its line items. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CloseIncident(Entity, Int32)

Overloaded. Closes an incident (case). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CloseIncident(Entity, OptionSetValue)

Overloaded. Closes an incident (case). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CloseQuote(Entity, OptionSetValue)

Closes a quote. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CompoundCreate(Entity, EntityCollection)

Deprecated. Creates a compound entity (salesorder, invoice, quote, or duplicaterule) and its related entity (salesorderdetail, invoicedetail, quotedetail, or duplicaterulecondition). Use Create. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CompoundUpdate(Entity, EntityCollection)

Deprecated. Updates a compound record (salesorder, invoice, quote or duplicaterule) and its related detail record (salesorderdetail, invoicedetail, quotedetail or duplicaterulecondition). Use Update. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CompoundUpdateDuplicateDetectionRule(Entity, EntityCollection)

Updates a duplicate rule (duplicate detection rule) and its related duplicate rule conditions. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ConvertKitToProduct(Guid)

Converts a kit to a product. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ConvertProductToKit(Guid)

Converts a product to a kit. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ConvertQuoteToSalesOrder(Guid, ColumnSet)

Converts a quote to a sales order. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ConvertSalesOrderToInvoice(Guid, ColumnSet)

Converts a sales order to an invoice. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CopyCampaign(Guid, Boolean)

Copies a campaign. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CopyCampaignResponse(EntityReference)

Copies the information from one campaign response to another, and optionally creates a campaign response template. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CopyDynamicListToStatic(Guid)

Creates a static list from the specified dynamic list and adds the members that satisfy the dynamic list query criteria to the static list. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CopyMembersList(Guid, Guid)

Copies the members from the source list to the target list without creating duplicates. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CopySystemForm(Entity, Guid)

Creates a new entity form that is based on an existing entity form. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CreateActivitiesList(Guid, String, Entity, Guid, Boolean, Object, EntityReference, Boolean, Boolean, Guid)

Creates the activities for a list. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CreateException(Entity, DateTime, Boolean)

Creates an exception for the recurring appointment instance. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CreateInstance(Entity, Int32)

Creates future unexpanded instances of a recurring appointment master. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod CreateWorkflowFromTemplate(String, Guid)

Creates a workflow from a workflow template. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeleteAuditData(DateTime)

Deletes all partitions containing audit data created before a given end date. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeleteLink(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. (Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeleteLink<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. (Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeleteOpenInstances(Entity, DateTime, Int32)

Deletes instances of a recurring appointment master that have an Open state. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeliverIncomingEmail(String, String, String, String, String, String, DateTime, String, String, String, EntityCollection)

Creates an email activity record from an incoming email message. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeliverPromoteEmail(Guid, String, String, String, String, String, String, DateTime, String, String, String, EntityCollection, Entity)

Creates an email activity instance from the specified email message (Track in CRM). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DeprovisionLanguage(Int32)

Deprovisions a language. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Detach(IEnumerable<Entity>)

(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DetachLink(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. Detaches a two entity instances.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DetachLink<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. Detaches a two entity instances.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DisassociateEntities(EntityReference, EntityReference, String)

Deprecated. Removes a link between two records in a many to many relationship. Use Disassociate. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DistributeCampaignActivity(Guid, Boolean, Entity, Guid, Object, EntityReference, Boolean, Guid)

Creates a bulk operation to distribute the activity, creating the appropriate activity for each member in the list for the specified campaign activity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod DownloadReportDefinition(Guid)

Downloads a report definition. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Execute<TResponse>(OrganizationRequest)

Extensions to the core Execute method. (Developer Extensions)(Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethod ExecuteByIdSavedQuery(Guid)

Executes a saved query (view) that has the specified ID. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ExecuteByIdUserQuery(EntityReference)

Executes the user query (saved view) that has the specified ID. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ExecuteFetch(String)

Deprecated. Executes the specified Fetch XML query. Use RetrieveMultiple. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ExecuteWorkflow(Guid, Guid)

Executes a workflow. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ExpandCalendar<TResult>(Guid, DateTime, DateTime)

Converts the calendar rules to an array of available time blocks for the specified period. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ExportSolution(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Exports a managed or unmanaged solution. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ExportTranslation(String)

Exports all translations for a specific solution to a compressed file. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod FetchXmlToQueryExpression(String)

Extensions to the core FetchXmlToQueryExpressionRequest message. (Developer Extensions) (Developer Extensions)(Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethod FindParentResourceGroup(Guid, Guid[])

Finds a parent resource group (scheduling group) for the specified resource groups (scheduling groups). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod FulfillSalesOrder(Entity, OptionSetValue)

Fulfills a sales order (order). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GenerateInvoiceFromOpportunity(Guid, ColumnSet)

Generates an invoice from an opportunity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GenerateQuoteFromOpportunity(Guid, ColumnSet)

Generates a quote from an opportunity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GenerateSalesOrderFromOpportunity(Guid, ColumnSet)

Generates a sales order from an opportunity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetAllTimeZonesWithDisplayName(Int32)

Retrieves all the time-zone definitions for the specified locale returning only the display name attribute. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetDecryptionKey()

Gets a decryption key. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetDistinctValuesImportFile(Guid, Int32, Int32, Int32)

Returns distinct values for a column in the source file that contains list values. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetHeaderColumnsImportFile(Guid)

Retrieves the source-file column headings, or system-generated column headings, if the source file does not contain column headings. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetInvoiceProductsFromOpportunity(Guid, Guid)

Retrieves the products from an opportunity and copies them to the specified invoice. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetQuantityDecimal(EntityReference, Guid, Guid)

Gets the quantity decimal value for a product. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetQuoteProductsFromOpportunity(Guid, Guid)

Retrieves the products from an opportunity and copies them to the quote. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetReportHistoryLimit(Guid)

Gets the history limit for a report. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetSalesOrderProductsFromOpportunity(Guid, Guid)

Retrieves the products from an opportunity and copies them to the sales order. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetTimeZoneCodeByLocalizedName(String, Int32)

Retrieves the time-zone code for the specified localized time-zone name. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GetTrackingTokenEmail(String)

Returns a tracking token that can be then passed in as a parameter to the SendEmail method. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod GrantAccess(EntityReference, Object)

Grants a security principal (user or team) access to the specified record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ImportRecordsImport(Guid)

Imports XML mappings and creates an import data map. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ImportSolution(Boolean, Boolean, Byte[], Guid)

Imports a managed or unmanaged solution. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ImportTranslation(Byte[], Guid)

Imports all translations from a compressed file. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod InitializeFrom(EntityReference, String, Object)

Initializes a new record from an existing record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod InstallSampleData()

Installs sample data for an organization. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod InstantiateFilters(EntityReferenceCollection, Guid)

Instantiates a filter. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod InstantiateTemplate(Guid, String, Guid)

Creates an email message from a template. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsAttached(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. Determines whether a relationship is attached and therefore being tracked by the OrganizationServiceContext.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsAttached<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. Determines whether a relationship is attached and therefore being tracked by the OrganizationServiceContext.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsAttached<TSource, TTarget>(TSource, Expression<Func<TSource, IEnumerable<TTarget>>>, TTarget)

Overloaded. Determines whether a relationship is attached and therefore being tracked by the OrganizationServiceContext.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsBackOfficeInstalled()

Deprecated. Checks if Microsoft Great Plains is installed. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsComponentCustomizable(Guid, Int32)

Determines whether a solution component is customizable. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsDeleted(Entity, String, Entity, Nullable<EntityRole>)

Overloaded. Determines whether a relationship has been deleted.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsDeleted<TSource, TTarget>(TSource, Expression<Func<TSource, TTarget>>, TTarget)

Overloaded. Determines whether a relationship has been deleted.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod IsValidStateTransition(EntityReference, String, Int32)

Checks to see if the state transition is valid. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LoadProperty(Entity, String, Nullable<EntityRole>)

Overloaded. Loads the related entity collection for the specified relationship.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LoadProperty<TEntity>(TEntity, Expression<Func<TEntity, Object>>)

Overloaded. Loads the related entity collection for the specified relationship.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LocalTimeFromUtcTime(Int32, DateTime)

Retrieves the local time for the specified Universal Time Coordinate (UTC) time. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LockInvoicePricing(Guid)

Locks the total price of products and services specified in the invoice. When the invoice pricing is locked, changes to underlying price lists (price levels) do not affect the prices for an invoice. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LockSalesOrderPricing(Guid)

Locks the total price of products and services specified in the sales order (order). When the sales order pricing is locked, changes to underlying price lists (price levels) do not affect the prices for a sales order (order). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LogFailureBulkOperation(Guid, Guid, Int32, Int32, String, String)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LogSuccessBulkOperation(Guid, Guid, Int32, Guid, Int32, String)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LoseOpportunity(Entity, Int32)

Overloaded. Sets the state of an opportunity to Lost. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod LoseOpportunity(Entity, OptionSetValue)

Overloaded. Sets the state of an opportunity to Lost. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod MakeAvailableToOrganizationReport(Guid)

Deprecated. Makes the report available to all users in the organization. Use Update. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod MakeAvailableToOrganizationTemplate(Guid)

Deprecated. Makes the specified email template available to the entire organization. Use Update. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod MakeUnavailableToOrganizationReport(Guid)

Deprecated. Makes the report unavailable to all users in the organization. Use Update. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod MakeUnavailableToOrganizationTemplate(Guid)

Deprecated. Makes the specified email template no longer available to the entire organization. Use Update. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Merge(EntityReference, Guid, Entity, Boolean)

Merges the information from two records of the same type. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod MergeClone<T>(T, Boolean)

Clones an arbitrary source entity and attaches it to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ModifyAccess(EntityReference, Object)

Replaces the access rights on the target record for the specified security principal (user or team). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ParseImport(Guid)

Submits an asynchronous job that parses all import files associated with the specified data import (import). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ProcessInboundEmail(Guid)

Processes marketing campaign email responses. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ProcessOneMemberBulkOperation(Guid, Entity, Int32)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod PropagateByExpression(QueryBase, String, Boolean, Entity, Guid, Object, Boolean, EntityReference, Boolean, Guid)

Distributes an activity to a quick campaign. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ProvisionLanguage(Int32)

Provisions a language. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod PublishAllXml()

Publishes all customizations. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod PublishDuplicateRule(Guid)

Submits an asynchronous job to publish a duplicate rule. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod PublishXml(String)

Publishes the customizations for the specified entities. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod QualifyLead(EntityReference, Boolean, Boolean, Boolean, EntityReference, EntityReference, EntityReference, OptionSetValue)

Qualifies a lead and creates an account, contact, or opportunity records that are linked to the originating lead. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod QualifyMemberList(Guid, Guid[], Boolean)

Qualifies the specified member list and either overrides the list members or removes them according to the specified option. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod QueryExpressionToFetchXml(QueryBase)

Converts a query represented as a QueryExpression class to the equivalent query represented as FetchXML. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod QueryMultipleSchedules<TResult>(Guid[], DateTime, DateTime, Object)

Searches multiple resources for an available time slot matching the specified parameters. This is similar to the QuerySchedule<TResult> method but it works for multiple resources at one time. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod QuerySchedule<TResult>(Guid, DateTime, DateTime, Object)

Searches the specified resource for an available time slot matching the specified parameters. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ReassignObjectsOwner(EntityReference, EntityReference)

Reassigns all records that are owned by the security principal (user or team) to another security principal (user or team). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ReassignObjectsSystemUser(Guid, EntityReference)

Reassigns all records that are owned by the user to another security principal (user or team). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ReAttach(Entity)

Resets the EntityState of an entity before attaching it to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Recalculate(EntityReference)

Recalculates the rollup attribute values for all goals in the goal hierarchy that contain a specified goal. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveItemCampaign(Guid, Guid)

Removes an item from a campaign. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveItemCampaignActivity(Guid, Guid)

Removes an item from a campaign activity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveMemberList(Guid, Guid)

Removes a member from a list. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveMembersTeam(Guid, Guid[])

Removes members from a team. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveParent(EntityReference)

Removes the parent for a record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemovePrivilegeRole(Guid, Guid)

Removes a privilege from an existing role. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveProductFromKit(Guid, Guid)

Removes a product from a kit. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveRelated(EntityReference[])

Deprecated. Removes the relationship between two records as defined by the target classes listed below. For example, remove the relationship between an invoice and a contact. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveSolutionComponent(Guid, Int32, String)

Removes a solution component to an unmanaged solution. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RemoveSubstituteProduct(Guid, Guid)

Deprecated. Removes the association between a product and a substitute product. Use Disassociate. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RenewContract(Guid, Int32, Boolean)

Renews a contract. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ReplacePrivilegesRole(Guid, Object)

Replaces the privilege set of an existing role. This effectively deletes all existing privileges from the role and adds the new specified privileges. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Reschedule<TResult>(Entity)

Reschedules an appointment, service appointment or recurring appointment. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ResetUserFilters(Int32)

Resets the offline data filters for the calling user to the default filters for the organization. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAbsoluteAndSiteCollectionUrl<TResponse>(EntityReference)

Retrieves the absolute (complete) URL and the site collection URL of a SharePoint document location or SharePoint site. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAllChildUsersSystemUser(Guid, ColumnSet)

Retrieves a collection of system users who report to the specified system user. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAllEntities(EntityFilters, Boolean)

Retrieves the metadata for all entities. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveApplicationRibbon()

Retrieves the core application ribbons including the entity template. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAttribute(String, String, Boolean)

Retrieves the metadata for the specified attribute. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAttributeChangeHistory<TResult>(EntityReference, String, PagingInfo)

Retrieves all changes to a specific attribute. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAuditDetails<TResult>(Guid)

Retrieves the full audit details of a particular audit record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAuditPartitionList<TResult>()

Retrieves the list of auditing partitions. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveAvailableLanguages()

Retrieves the list of available languages. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveBusinessHierarchyBusinessUnit(Guid, ColumnSet)

Retrieves all the business units in the business unit hierarchy. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveByGroupResource(Guid, QueryBase)

Retrieves all the resource groups to which the specified resource belongs. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveByResourceResourceGroup(Guid, QueryBase)

Retrieves the resource groups that contain the specified resource. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveByResourcesService(Guid[], QueryBase)

Retrieves a collection of services related to the specified set of services. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveByTopIncidentProductKbArticle(Guid)

Retrieves the top ten knowledge base articles for the product specified. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveByTopIncidentSubjectKbArticle(Guid)

Retrieves the top ten knowledge base articles for the subject specified. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveDependenciesForDelete(Guid, Int32)

Retrieves the dependencies for solution components that will prevent a solution component from being deleted. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveDependenciesForUninstall(String)

Retrieves the dependencies for solution components that could prevent uninstalling a managed solution. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveDependentComponents(Guid, Int32)

Retrieves all components that depend on the specified component. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveDeploymentLicenseType()

Retrieves the type of license for a deployment of Microsoft Dynamics CRM. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveDeprovisionedLanguages()

Retrieves the list of language packs installed on the server that have been disabled. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveDuplicates(Entity, String, PagingInfo)

Detects and retrieves duplicate records for the specified record, provided duplicate detection is enabled and there are published duplicate detection rules for the entity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveEntity(RetrieveEntityRequest)

Overloaded. (Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethod RetrieveEntity(String, EntityFilters, Boolean)

Overloaded. (Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethod RetrieveEntityRibbon(String, Object)

Retrieves the ribbon definition used for a specific entity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveExchangeRate(Guid)

Retrieves the exchange rate. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveFilteredForms(String, OptionSetValue, Guid)

Retrieves the system forms for the specified user. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveFormattedImportJobResults(Guid)

Retrieves the formatted results from an import job. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveFormXml<TResponse>(String)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveInstalledLanguagePacks()

Retrieves the list of language packs installed on the server. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveInstalledLanguagePackVersion(Int32)

Retrieves the version of an installed language pack. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveLicenseInfo<TResponse>(Int32)

Retrieves the number of licenses for a deployment of Microsoft Dynamics CRM. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveLocLabels(EntityReference, String, Boolean)

Retrieves the localized labels for the specified attribute. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveMembersBulkOperation(Guid, Int32, Int32, QueryBase)

Retrieves the members of a bulk operation. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveMembersTeam(Guid, ColumnSet)

Deprecated. Retrieves the members of a team. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveMissingComponents<TResult>(Byte[])

Retrieves a list of missing components for the target organization. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveMissingDependencies(String)

Verifies whether any solution components are not included in the solution but possibly should be for a complete solution to be exported. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveMultiple(RetrieveMultipleRequest)

Overloaded. Extensions to the core RetrieveMultiple method. (Developer Extensions)(Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethod RetrieveOrganizationResources<TResult>()

Retrieves the resources used by an organization. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveParentGroupsResourceGroup(Guid, QueryBase)

Retrieves a collection of the parent resource groups of the specified resource group (scheduling group). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveParsedDataImportFile(Guid, PagingInfo)

Retrieves the data from the parse table. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrievePrincipalAccess<TResult>(EntityReference, EntityReference)

Retrieves the access rights the specified security principal (user or team) has to a record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrievePrincipalAttributePrivileges(EntityReference)

Retrieves all the secured attribute privileges a user or team has through direct or indirect (through team membership) associations with the FieldSecurityProfile entity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrievePrivilegeSet()

Retrieves the set of privileges defined in the system. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveProvisionedLanguagePackVersion(Int32)

Retrieves the version of the language packs installed on the server. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveProvisionedLanguages()

Retrieves the list of language packs installed on the server that are enabled. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveRecordChangeHistory<TResult>(EntityReference, PagingInfo)

Retrieves all changes to a specific entity. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveRequiredComponents(Guid, Int32)

Retrieves all components that this component requires. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveRolePrivilegesRole<TResult>(Guid)

Retrieves the privileges that are assigned to the specified role. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveSharedPrincipalsAndAccess<TResult>(EntityReference)

Retrieves all the security principals (users or teams) that have access to a record, together with their access rights to the record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveSubGroupsResourceGroup(Guid, QueryBase)

Retrieves a collection of the child resource groups of the specified resource group (scheduling group). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveSubsidiaryTeamsBusinessUnit(Guid, ColumnSet)

Deprecated. Retrieves all the team information for child business units of the specified business unit. Use RetrieveMultiple. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveSubsidiaryUsersBusinessUnit(Guid, ColumnSet)

Deprecated. Retrieves all system users for the child business units of the specified business unit. Use RetrieveMultiple. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveTeamPrivileges<TResult>(Guid)

Retrieves the privileges for a team. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveTeamsSystemUser(Guid, ColumnSet)

Deprecated. Retrieves a collection of teams of which the specified system user is a member. Use RetrieveMultiple. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveUnpublished(EntityReference, ColumnSet)

Retrieves the current saved definition of a Web resource, organization-owned chart, or organization-owned dashboard, whether it has been published or not. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveUnpublishedMultiple(QueryBase)

Retrieves the current saved definitions of Web resources, organization-owned charts, or organization-owned dashboards, whether they have been published or not. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveUserPrivileges<TResult>(Guid)

Retrieves all the privileges a system user (user) has through his or her roles in the specified business unit. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveUserSettingsSystemUser(Guid, ColumnSet)

Deprecated. Retrieves the system user settings for the specified system user. Use RetrieveMultiple. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RetrieveVersion()

Retrieves the version number of the Microsoft Dynamics CRM server. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ReviseQuote(Guid, ColumnSet)

Sets the state of a quote to Draft. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod RevokeAccess(EntityReference, EntityReference)

Removes all access to a record for the specified security principal (user or team). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Rollup(EntityReference, QueryBase, Object)

Retrieves all the records related to the specified record (account or contact). This applies to all activity entities, annotation (note), contract, incident (case), invoice, opportunity, quote and sales order (order) entities. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Search<TResult>(Object)

Searches for available time slots that fulfill the specified appointment request. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SearchByBodyKbArticle(String, Guid, Boolean, QueryBase)

Finds all the document indexes that contain the specified text in the body. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SearchByKeywordsKbArticle(String, Guid, Boolean, QueryBase)

Finds all the document indexes that contain the specified keywords. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SearchByTitleKbArticle(String, Guid, Boolean, QueryBase)

Finds all the document indexes that contain the specified text in the title. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SendBulkMail(EntityReference, Guid, String, Guid, QueryBase)

Sends bulk email messages. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SendEmail(Guid, Boolean, String)

Sends an email message. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SendEmailFromTemplate(Guid, String, Guid, Entity)

Sends an email message using a template. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SendFax(Guid, Boolean)

Sends a fax. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SendTemplate(Guid, EntityReference, String, Guid[], String, Guid)

Sends a bulk email message that is created from a template. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

System_CAPS_pubmethod SetBusinessEquipment(Guid, Guid)

Sets the business that owns the equipment. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetBusinessSystemUser(Guid, Guid, EntityReference)

Sets the business unit for the specified system user. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetLocLabels(EntityReference, String, LocalizedLabel[])

Sets the localized labels for the specified attribute. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetParentBusinessUnit(Guid, Guid)

Sets the parent (manager) for the specified business unit. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetParentSystemUser(Guid, Guid, Boolean)

Sets the parent (manager) for the specified system user. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetParentTeam(Guid, Guid)

Sets the parent (manager) for the specified team. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetRelated(EntityReference[])

Deprecated. Creates a link between an opportunity and an account, contact, or competitor. Use Associate. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetReportRelated(Guid, Int32[], Int32[], Int32[])

Specifies in which areas of Microsoft Dynamics CRM the report can be run and viewed. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetState(EntityReference, OptionSetValue, OptionSetValue)

Overloaded. Sets the state of a record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetState(Int32, Int32, Entity)

Overloaded. Sets the state of a record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod SetState(Int32, Int32, EntityReference)

Overloaded. Sets the state of a record. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod StatusUpdateBulkOperation(Guid, Int32, Int32)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TransformImport(Guid)

Submits an asynchronous job to transform the parsed data. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TriggerServiceEndpointCheck(EntityReference)

Validates the configuration of a Windows Azure platform AppFabric solution’s service endpoint. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TryAccessCache(Action<IOrganizationServiceCache>)

Tries to perform an action on the underlying IOrganizationServiceCache if applicable.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TryRemoveFromCache(Entity)

Overloaded. Removes an entity from cache if it is applicable to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TryRemoveFromCache(EntityReference)

Overloaded. Removes an entity from cache if it is applicable to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TryRemoveFromCache(OrganizationRequest)

Overloaded. Removes a request/response from cache if it is applicable to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TryRemoveFromCache(String)

Overloaded. Removes an item from cache if it is applicable to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod TryRemoveFromCache(String, Nullable<Guid>)

Overloaded. Removes an entity from cache if it is applicable to the context.(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod UninstallSampleData()

Uninstalls sample data for an organization. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod UnlockInvoicePricing(Guid)

Unlocks the price per unit for the products in the specified invoice. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod UnlockSalesOrderPricing(Guid)

Unlocks the price per unit for the products in the specified sales order (order). (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod UnpublishDuplicateRule(Guid)

Unpublishes a duplicate rule. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod UpdateUserSettingsSystemUser(Guid, Entity)

Deprecated. Updates the user settings for a system user. Use Update. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod UtcTimeFromLocalTime(Int32, DateTime)

Retrieves the UTC time for the specified local time. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod Validate<TResult>(EntityCollection)

Validates that all the constraints of an appointment or service appointment are met. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ValidateRecurrenceRule(Entity)

Validates a recurrence rule for a recurring appointment. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod ValidateSavedQuery(String, Int32)

Validates a saved query. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod VerifyProcessStateData(EntityReference, String)

For internal use only. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod WhoAmI<TResponse>()

Retrieves the user information for the logged on user. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod WinOpportunity(Entity, Int32)

Overloaded. Changes the state of an opportunity to Won. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod WinOpportunity(Entity, OptionSetValue)

Overloaded. Changes the state of an opportunity to Won. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

System_CAPS_pubmethod WinQuote(Entity, OptionSetValue)

Changes the state of a quote to Won. (Developer Extensions)(Defined by OrganizationServiceContextExtensions.)

Remarks

The Developer Extensions for Microsoft Dynamics CRM version of the runtime context of the data service that is used to track Microsoft Dynamics CRM entities and that sends and receives entities from the server.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client Namespace
Simplified connection to Microsoft Dynamics CRM 2015
Developer extensions context object model (Dynamics CRM 2015)
Access entity relationships (Dynamics CRM 2015)
Attach entities to the context (Dynamics CRM 2015)
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright