Condividi tramite


Metodo FindByName

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

Spazio dei nomi:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function FindByName ( _
    name As String _
) As Partition
'Utilizzo
Dim instance As PartitionCollection
Dim name As String
Dim returnValue As Partition

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

Parametri

Valore restituito

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