OrganizationServiceElement.CreateOrganizationService Method (CrmConnection, IOrganizationServiceCache)
Applies To: Dynamics CRM 2015
Creates an IOrganizationService object.
Namespace: Microsoft.Xrm.Client.Configuration
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public IOrganizationService CreateOrganizationService(
CrmConnection connection,
IOrganizationServiceCache serviceCache
)
public:
IOrganizationService^ CreateOrganizationService(
CrmConnection^ connection,
IOrganizationServiceCache^ serviceCache
)
member CreateOrganizationService :
connection:CrmConnection *
serviceCache:IOrganizationServiceCache -> IOrganizationService
Public Function CreateOrganizationService (
connection As CrmConnection,
serviceCache As IOrganizationServiceCache
) As IOrganizationService
Parameters
- connection
Type: Microsoft.Xrm.Client.CrmConnection
- serviceCache
Type: Microsoft.Xrm.Client.Services.IOrganizationServiceCache
Return Value
Type: Microsoft.Xrm.Sdk.IOrganizationService
Type: IOrganizationService.
See Also
OrganizationServiceElement Class
Microsoft.Xrm.Client.Configuration Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright