RestoreLocationCollection.Contains Method
Indicates whether the collection contains the specified RestoreLocation.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As RestoreLocation _
) As Boolean
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.RestoreLocation
The RestoreLocation to locate.
Return Value
Type: System.Boolean
true if the RestoreLocation exists in the collection; otherwise, false.