ArcObjects Library Reference (GeoDatabase)  

IWorkspaceProperties Interface

Provides access to members that control the workspace properties. Note: the IWorkspaceProperties interface has been superseded byIWorkspaceProperties2. Please consider using the more recent version.

Product Availability

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

Members

Description
Read/write property Property Information about this particular property.

CoClasses that implement IWorkspaceProperties

CoClasses and Classes Description
AMSWorkspace (esriTrackingAnalyst) Controls the Tracking Server workspace COM object's properties.
NetCDFWorkspace (esriDataSourcesNetCDF) The NetCDF workspace object.
RasterWorkspace (esriDataSourcesRaster) The raster workspace object.
Sde3Workspace (esriDataSourcesGDB) Esri SDE (3.x) Feature Database.
SqlWorkspace (esriDataSourcesGDB) Sql workspace
VersionedWorkspace VersionedWorkspace Object.

Remarks

A workspace may have a set of properties that may be queried using the optional IWorkspaceProperties interface. Two groups of workspace properties exist, the workspace property group and the table property group. Both groups have values in the esriWorkspacePropertyGroupType enumeration, which should be passed to the propertyGroup parameter of this property to indicate which group is being accessed.

The PropertyType parameter should be a value from one of two enumerations, depending on which property group is desired. If the esriWorkspacePropertyGroup value is passed in as the propertyGroup parameter, a value from the esriWorkspacePropertyType enumeration should be passed in as the PropertyType parameter. If the esriWorkspaceTablePropertyGroup value is passed in as the propertyGroup parameter, a value from the esriWorkspaceTablePropertyType enumeration should be passed in as the PropertyType parameter.

Note that the PropertyType parameter expects a long integer. This is because a value from either the esriWorkspacePropertyType enumeration or the esriWorkspaceTablePropertyType enumeration may be used. In some languages (for example, C#) it is necessary to cast these enumerations' values to integers when passing them to the Property property. See the C# example associated with this interface for more on this.

Some of the properties of workspace property group include:

Some of the properties in the table property group include: 

Applications can use the above properties to determine the capability of the workspace they are working with. Note that if the optional IWorkspaceProperties interface is not implemented, applications should assume that the above capabilities are supported. Applications should always be prepared to deal with the absence of optional interfaces or with failure when executing methods on mandatory interfaces, for example because of privileges or licensing issues.

See Also

IWorkspaceConfiguration Interface | IWorkspaceProperty Interface

.NET Related Topics

Querying workspace properties