Sdílet prostřednictvím


BackupLocationCollection.Contains Method

Indicates whether the collection contains a specified BackupLocation.

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

Syntax

'Declaration
Public Function Contains ( _
    item As BackupLocation _
) As Boolean
'Usage
Dim instance As BackupLocationCollection
Dim item As BackupLocation
Dim returnValue As Boolean

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

Parameters

Return Value

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