This document is archived and information here might be outdated.  Recommended version.

IGeodatabaseRelease2.DatasetSupported Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeodatabaseRelease2 Interface > IGeodatabaseRelease2.DatasetSupported Property
ArcGIS Developer Help

IGeodatabaseRelease2.DatasetSupported Property

Indicates whether the workspace supports the specified dataset type.

[Visual Basic .NET]
Public Function get_DatasetSupported ( _
    ByVal Type As esriDatasetType _
) As Boolean
public bool get_DatasetSupported (
    esriDatasetType Type
HRESULT get_DatasetSupported(
  esriDatasetType Type,
  Boolean* canSupport
Type [in]

Type is a parameter of type esriDatasetType canSupport [out, retval]
canSupport is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The DatasetSupported method returns a boolean value indicating whether the workspace supports the dataset type specified by the Type parameter.  Use this method to determine if you can work with datasets for specific releases of the geodatabase.  Please note that the capabilities of datasets may change between releases of the Geodatabase.  The DatasetSupported method will only indicate whether a type of dataset is supported for the given workspace; it will not indicate whether an instance of a dataset type is supported.

Some dataset types are not supported by this method:

See Also

IGeodatabaseRelease2 Interface