Show / Hide Table of Contents

    Interface IOrgServiceProvider

    Interface for a class that provides IProvidedOrgService instances.

    Namespace: Hsl.Xrm.Sdk
    Assembly: Hsl.Xrm.Sdk.Core.dll
    Syntax
    public interface IOrgServiceProvider

    Methods

    Acquire()

    Gets or creates a connection. Call IProvidedOrgService.Dispose to return it to the pool.

    Declaration
    IProvidedOrgService Acquire()
    Returns
    Type Description
    IProvidedOrgService

    Acquire(Guid)

    Gets or creates a connection. Call IProvidedOrgService.Dispose to return it to the pool.

    Declaration
    IProvidedOrgService Acquire(Guid userId)
    Parameters
    Type Name Description
    System.Guid userId

    Sets the CallerId for all requests to the given user.

    Returns
    Type Description
    IProvidedOrgService
    Back to top Hsl.Xrm.Sdk