RestoreLocationCollection.Contains Method (RestoreLocation)
Applies To: SQL Server (starting with 2016)
Indicates whether the collection contains the specified RestoreLocation.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public bool Contains(
RestoreLocation item
)
public:
bool Contains(
RestoreLocation^ item
)
member Contains :
item:RestoreLocation -> bool
Public Function Contains (
item As RestoreLocation
) As Boolean
Parameters
item
Type: Microsoft.AnalysisServices.RestoreLocationThe RestoreLocation to locate.
Return Value
Type: System.Boolean
true if the RestoreLocation exists in the collection; otherwise, false.
See Also
RestoreLocationCollection Class
Microsoft.AnalysisServices Namespace
Return to top