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


IGeodatabaseRelease2.DatasetSupported Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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
[C#]
public bool get_DatasetSupported (
    esriDatasetType Type
);
[C++]
HRESULT get_DatasetSupported(
  esriDatasetType Type,
  VARIANT_BOOL* canSupport
);
[C++]

Parameters Type [in]
Type is a parameter of type esriDatasetType canSupport [out, retval] canSupport is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

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