Share via


MdxScript.DefaultScript Property

Gets or sets the DefaultScript property that makes the current script the default one among all scripts.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
<DefaultValueAttribute(True)> _
Public Property DefaultScript As Boolean
[DefaultValueAttribute(true)] 
public bool DefaultScript { get; set; }
[DefaultValueAttribute(true)] 
public:
property bool DefaultScript {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_DefaultScript ()

/** @property */
public void set_DefaultScript (boolean value)
public function get DefaultScript () : boolean

public function set DefaultScript (value : boolean)

Property Value

true if the current script is the default; otherwise, false.

Remarks

Setting this property to true for one script will set all other scripts to false.

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MdxScript Class
MdxScript Members
Microsoft.AnalysisServices Namespace