Share via


AssemblyCollection.FindByName Method

Gets the Assembly, with the specified name, from the collection.

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

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As Assembly
'Usage
Dim instance As AssemblyCollection
Dim name As String
Dim returnValue As [Assembly]

returnValue = instance.FindByName(name)
public Assembly FindByName(
    string name
)
public:
Assembly^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> Assembly 
public function FindByName(
    name : String
) : Assembly

Parameters

Return Value

Type: Microsoft.AnalysisServices.Assembly
The Assembly if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).