Partilhar via


ScriptDependency Constructor (String, String, Boolean)

Initializes a new instance of the ScriptDependency class based on a script dependency.

Namespace:  Microsoft.PerformancePoint.Scorecards.Script
Assembly:  Microsoft.PerformancePoint.Scorecards.Script (in Microsoft.PerformancePoint.Scorecards.Script.dll)

Syntax

'Declaration
Public Sub New ( _
    scriptLocation As String, _
    assemblyName As String, _
    forceRelease As Boolean _
)
'Usage
Dim scriptLocation As String
Dim assemblyName As String
Dim forceRelease As Boolean

Dim instance As New ScriptDependency(scriptLocation, _
    assemblyName, forceRelease)
public ScriptDependency(
    string scriptLocation,
    string assemblyName,
    bool forceRelease
)

Parameters

  • scriptLocation
    Type: System.String

    The relative path of the script file, or the identifier of the script file when it is embedded as a resource in an assembly.

  • assemblyName
    Type: System.String

    a null reference (Nothing in Visual Basic) if scriptLocation is a relative path, or the name of the assembly that contains the script.

  • forceRelease
    Type: System.Boolean

    Indicates whether to override the script-mode check for debug or release versions. If true, the server uses the release version of the script file. If false, the server uses the version of the script file that is specified by the Web application settings.

See Also

Reference

ScriptDependency Structure

ScriptDependency Members

ScriptDependency Overload

Microsoft.PerformancePoint.Scorecards.Script Namespace