Remove 方法

Removes the specified RestoreLocation from the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub Remove ( _
    item As RestoreLocation _
)
用法
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
)

异常

异常 条件
ItemNotFoundException

item diess not exist in the collection.