Delen via


DataSourceViewCollection.Remove Method (String)

Removes the DataSourceView, with the specified identifier, from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    id As String _
)
'Usage
Dim instance As DataSourceViewCollection 
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
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

id is not contained by the collection.

See Also

Reference

DataSourceViewCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace