Share via


PartitionCollection.FindByName(String) Method

Definition

Gets the Partition that has the specified name from the collection.

public Microsoft.AnalysisServices.Partition FindByName (string name);
member this.FindByName : string -> Microsoft.AnalysisServices.Partition
Public Function FindByName (name As String) As Partition

Parameters

name
String

The name of the Partition to locate.

Returns

The Partition with the specified name, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to