MdxScriptCollection.Contains Method (MdxScript)
Indicates whether the collection contains a specified MdxScript.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As MdxScript _
) As Boolean
'Usage
Dim instance As MdxScriptCollection
Dim item As MdxScript
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
MdxScript item
)
public:
bool Contains(
MdxScript^ item
)
member Contains :
item:MdxScript -> bool
public function Contains(
item : MdxScript
) : boolean
Parameters
- item
Type: Microsoft.AnalysisServices.MdxScript
The MdxScript to be located.
Return Value
Type: System.Boolean
true if the MdxScript is contained in the collection; otherwise, false.