BackupLocationCollection.Remove Method
Removes the specified BackupLocation from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As BackupLocation _
)
'Usage
Dim instance As BackupLocationCollection
Dim item As BackupLocation
instance.Remove(item)
public void Remove(
BackupLocation item
)
public:
void Remove(
BackupLocation^ item
)
member Remove :
item:BackupLocation -> unit
public function Remove(
item : BackupLocation
)
Parameters
- item
Type: Microsoft.AnalysisServices.BackupLocation
The BackupLocation to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |