Delen via


PartitionCollection.Contains Method (Partition)

Indicates whether the collection contains a specified Partition.

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

Syntax

'Declaration
Public Function Contains ( _
    item As Partition _
) As Boolean
'Usage
Dim instance As PartitionCollection 
Dim item As Partition 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    Partition item
)
public:
bool Contains(
    Partition^ item
)
member Contains : 
        item:Partition -> bool
public function Contains(
    item : Partition
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the Partition is contained in the collection; otherwise, false.

See Also

Reference

PartitionCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace