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
- item
Type: Microsoft.AnalysisServices.MdxScript
The MdxScript to be added.
Return Value
Type: System.Int32
The zero-based index at which the MdxScript has been added.