Share via


MdxScriptCollection.Add Method

Creates and adds an MdxScript to the end of the collection.

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

Syntax

'Declaration
Public Function Add As MdxScript
'Usage
Dim instance As MdxScriptCollection
Dim returnValue As MdxScript

returnValue = instance.Add()
public MdxScript Add()
public:
MdxScript^ Add()
member Add : unit -> MdxScript 
public function Add() : MdxScript

Return Value

Type: Microsoft.AnalysisServices.MdxScript
A new, empty MdxScript.