Compartir a través de


CrmConfigurationManager.CreateService Method (String, Boolean)

 

Applies To: Dynamics CRM 2013

Retrieves the configured IOrganizationService instance.

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

Syntax

public static IOrganizationService CreateService(
    string contextName = null,
    bool allowDefaultFallback = false
)
public:
static IOrganizationService^ CreateService(
    String^ contextName = null,
    bool allowDefaultFallback = false
)
static member CreateService : 
        contextName:string = null *
        allowDefaultFallback:bool = false -> IOrganizationService
Public Shared Function CreateService (
    contextName As String,
    allowDefaultFallback As Boolean
) As IOrganizationService

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.IOrganizationService

Type: IOrganizationService.

See Also

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

Return to top