Dela via


MdxScriptCollection.Add Method (MdxScript)

Adds an MdxScript to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As MdxScript _
) As Integer
'Usage
Dim instance As MdxScriptCollection
Dim item As MdxScript
Dim returnValue As Integer

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

Parameters

Return Value

Type: System.Int32
The zero-based index at which the MdxScript has been added.