共用方式為


ITableManager.RemoveSource(ITableDataSource) Method

Definition

Remove source from the list of sources associated with this table manager.

public:
 bool RemoveSource(Microsoft::VisualStudio::Shell::TableManager::ITableDataSource ^ source);
public:
 bool RemoveSource(Microsoft::VisualStudio::Shell::TableManager::ITableDataSource ^ source);
bool RemoveSource(Microsoft::VisualStudio::Shell::TableManager::ITableDataSource const & source);
public bool RemoveSource (Microsoft.VisualStudio.Shell.TableManager.ITableDataSource source);
abstract member RemoveSource : Microsoft.VisualStudio.Shell.TableManager.ITableDataSource -> bool
Public Function RemoveSource (source As ITableDataSource) As Boolean

Parameters

source
ITableDataSource

The source.

Returns

true if source was removed from the table manager. Returns false if it was not (because it was not one of the table manager's Sources).

Remarks

Removing a source may cause source's to unnsubscribe (e.g. the call Dispose() on the subscription obkect) immediately (before RemoveSource() returns).

Applies to