Remove 方法 (String)
Removes the DataSource, with the specified identifier, from the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub Remove ( _
id As String _
)
用法
Dim instance As DataSourceCollection
Dim id As String
instance.Remove(id)
public void Remove(
string id
)
public:
void Remove(
String^ id
)
member Remove :
id:string -> unit
public function Remove(
id : String
)
参数
- id
类型:System. . :: . .String
The identifier of the DataSource to be removed.
异常
异常 | 条件 |
---|---|
ItemNotFoundException | id is not contained by the collection. |