共用方式為


DefaultScript 屬性

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property DefaultScript As Boolean
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .Boolean
true if the current script is the default; otherwise, false.

備註

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