Dela via


Utility.CheckScriptCondition Method (String, Context, Session)

 

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

Given the condition string, determines whether the condition is true or false.

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public static bool CheckScriptCondition(
    string script,
    Context CurrentContext,
    Session localSession
)
Public Shared Function CheckScriptCondition (
    script As String,
    CurrentContext As Context,
    localSession As Session
) As Boolean

Parameters

  • script
    Type: System.String

    Specifies the condition string (interpreted as a javascript expression).

Return Value

Type: System.Boolean

True if the condition succeeded.

See Also

CheckScriptCondition Overload
Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright