Partager via


OrganizationServiceContextElement.CreateOrganizationServiceContext Method (IOrganizationService)

 

Applies To: Dynamics CRM 2015

Creates a OrganizationServiceContext object.

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

Syntax

public OrganizationServiceContext CreateOrganizationServiceContext(
    IOrganizationService service
)
public:
OrganizationServiceContext^ CreateOrganizationServiceContext(
    IOrganizationService^ service
)
member CreateOrganizationServiceContext : 
        service:IOrganizationService -> OrganizationServiceContext
Public Function CreateOrganizationServiceContext (
    service As IOrganizationService
) As OrganizationServiceContext

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContext

Type: OrganizationServiceContext.

See Also

OrganizationServiceContextElement Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright