Share via


ServerPropertyCollection.Contains Method (ServerProperty)

Indicates whether the collection contains a specified ServerProperty.

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

Syntax

'Declaration
Public Function Contains ( _
    item As ServerProperty _
) As Boolean
'Usage
Dim instance As ServerPropertyCollection
Dim item As ServerProperty
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
true if the ServerProperty exists in the collection; otherwise, false.