مشاركة عبر


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
Public Property DefaultScript As Boolean 
    Get 
    Set
'Usage
Dim instance As MdxScript 
Dim value As Boolean 

value = instance.DefaultScript

instance.DefaultScript = value
public bool DefaultScript { get; set; }
public:
property bool DefaultScript {
    bool get ();
    void set (bool value);
}
member DefaultScript : bool with get, set
function get DefaultScript () : boolean 
function set DefaultScript (value : boolean)

Property Value

Type: System.Boolean
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.

See Also

Reference

MdxScript Class

Microsoft.AnalysisServices Namespace