다음을 통해 공유


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.