Share via


PartitionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Partition to locate.

Returns

The Partition with the specified Name.

Exceptions

The collection doesn't contain a Partition with the specified name.

Applies to