Partager via


MdxScript.DefaultScript Property

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

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<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)

Valeur de propriété

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

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

MdxScript Class
MdxScript Members
Microsoft.AnalysisServices Namespace