RestoreLocationCollection.Remove Method
Removes the specified RestoreLocation from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As RestoreLocation _
)
'Usage
Dim instance As RestoreLocationCollection
Dim item As RestoreLocation
instance.Remove(item)
public void Remove(
RestoreLocation item
)
public:
void Remove(
RestoreLocation^ item
)
member Remove :
item:RestoreLocation -> unit
public function Remove(
item : RestoreLocation
)
Parameters
- item
Type: Microsoft.AnalysisServices.RestoreLocation
The RestoreLocation to remove.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item diess not exist in the collection. |