Compartir a través de


Javascript.EvaluateScript Method

Evaluates the given script.

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

Usage

'Usage
Dim script As String
Dim cache As Boolean
Dim returnValue As Object

returnValue = Javascript.EvaluateScript(script, cache)

Syntax

'Declaration
Public Shared Function EvaluateScript ( _
    script As String, _
    <OptionalAttribute> Optional cache As Boolean = True _
) As Object
public static Object EvaluateScript (
    string script,
    [OptionalAttribute] bool cache
)
public:
static Object^ EvaluateScript (
    String^ script, 
    [OptionalAttribute] bool cache
)
public static Object EvaluateScript (
    String script, 
    /** @attribute OptionalAttribute() */ boolean cache
)
public static function EvaluateScript (
    script : String, 
    cache : boolean
) : Object

Parameters

  • script
    Specifies the script.
  • cache

Return Value

Type: Object

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Javascript Class
Javascript Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.