Partager via


Sessions.GetSession Method (String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Gets the session based on the customer ID.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

public virtual Session GetSession(
    string customerId
)
Public Overridable Function GetSession (
    customerId As String
) As Session

Parameters

  • customerId
    Type: System.String

    Specifies the customer ID for which to search.

Return Value

Type: Microsoft.Uii.Csr.Session

A session or null if not found

See Also

GetSession Overload
Sessions Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright