Partager via


CrmConfigurationProvider.CreateService Method (CrmConnection, String, Boolean)

 

Applies To: Dynamics CRM 2015

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

Syntax

public virtual IOrganizationService CreateService(
    CrmConnection connection,
    string serviceName = null,
    bool allowDefaultFallback = false
)
public:
virtual IOrganizationService^ CreateService(
    CrmConnection^ connection,
    String^ serviceName = null,
    bool allowDefaultFallback = false
)
abstract CreateService : 
        connection:CrmConnection *
        serviceName:string = null *
        allowDefaultFallback:bool = false -> IOrganizationService
override CreateService : 
        connection:CrmConnection *
        serviceName:string = null *
        allowDefaultFallback:bool = false -> IOrganizationService
Public Overridable Function CreateService (
    connection As CrmConnection,
    serviceName As String,
    allowDefaultFallback As Boolean
) As IOrganizationService

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.IOrganizationService

Type: IOrganizationService
.

See Also

CreateService Overload
CrmConfigurationProvider Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright