PartitionCollection.FindByName Method (String)

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

public Partition FindByName(
    string name
)
public:
Partition^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> Partition
Public Function FindByName (
    name As String
) As Partition

Parameters

Return Value

Type: Microsoft.AnalysisServices.Partition

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

See Also

PartitionCollection Class
Microsoft.AnalysisServices Namespace

Return to top