Compartilhar via


Método Contains

Indicates whether the collection contains the specified RestoreLocation.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As RestoreLocation _
) As Boolean
'Uso
Dim instance As RestoreLocationCollection
Dim item As RestoreLocation
Dim returnValue As Boolean

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

Valor de retorno

Tipo: System. . :: . .Boolean
true if the RestoreLocation exists in the collection; otherwise, false.