Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • DataSourceInfoCollection.Remove(String) Method

    Removes the specified data source from the collection.

    Namespace: DevExpress.Snap.Core.API

    Assembly: DevExpress.Snap.v21.2.Core.dll

    NuGet Package: DevExpress.Snap.Core

    Declaration

    public void Remove(
        string name
    )

    Parameters

    Name Type Description
    name String

    A String value, specifying the datasource name.

    Remarks

    A specific data source can be accessed via the DataSourceInfoCollection.Item property.

    To add a new data source, use the DataSourceInfoCollection.Add method.

    The default data source cannot be deleted.

    See Also