MdxScriptCollection.Find Method
Gets the MdxScript, with the specified identifier, from the collection.
Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Find ( _
    id As String _
) As MdxScript
'Usage
Dim instance As MdxScriptCollection
Dim id As String
Dim returnValue As MdxScript
returnValue = instance.Find(id)
public MdxScript Find(
    string id
)
public:
MdxScript^ Find(
    String^ id
)
member Find : 
        id:string -> MdxScript 
public function Find(
    id : String
) : MdxScript
Parameters
- id
 Type: System.String
 The identifier of the MdxScript to be returned.
Return Value
Type: Microsoft.AnalysisServices.MdxScript
The MdxScript if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).