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


IWorkspaceProperties.Property Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceProperties.Property Property

Information about this particular property.

[Visual Basic .NET]
Public Function get_Property ( _
    ByVal propertyGroup As esriWorkspacePropertyGroupType, _
    ByVal PropertyType As Integer _
) As IWorkspaceProperty
[Visual Basic .NET]
Public Sub set_Property ( _
    ByVal propertyGroup As esriWorkspacePropertyGroupType, _
    ByVal PropertyType As Integer, _
    ByVal WorkspaceProperty As IWorkspaceProperty _
)
[C#]
public IWorkspaceProperty get_Property (
    esriWorkspacePropertyGroupType propertyGroup,
    int PropertyType
);
[C#]
public void set_Property (
    esriWorkspacePropertyGroupType propertyGroup,
    int PropertyType,
    IWorkspaceProperty WorkspaceProperty
);
[C++]
HRESULT get_Property(
  esriWorkspacePropertyGroupType propertyGroup,
  long PropertyType,
  IWorkspaceProperty** WorkspaceProperty
);
[C++]
HRESULT put_Property(
  esriWorkspacePropertyGroupType propertyGroup,
  long PropertyType,
  IWorkspaceProperty* WorkspaceProperty
);
[C++]

Parameters propertyGroup [in]
propertyGroup is a parameter of type esriWorkspacePropertyGroupType PropertyType [in]
PropertyType is a parameter of type long WorkspaceProperty [out, retval]
WorkspaceProperty is a parameter of type IWorkspaceProperty** propertyGroup [in]
propertyGroup is a parameter of type esriWorkspacePropertyGroupType PropertyType [in]
PropertyType is a parameter of type long WorkspaceProperty [in]
WorkspaceProperty is a parameter of type IWorkspaceProperty*

Product Availability

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

Remarks

The IWorkspaceProperties::Property property has parameters for values from the esriWorkspacePropertyGroup enumeration and either the  esriWorkspacePropertyType enumeration or the esriWorkspaceTablePropertyType enumeration. It returns the value of the requested property as a WorkspaceProperty object.

The PropertySet parameter may require casting an esriWorkspacePropertyType or esriWorkspaceTablePropertyType value to an integer (or long). See the IWorkspaceProperties interface remarks for a discussion on this.

See Also

IWorkspaceProperties Interface

.NET Related Topics

Querying workspace properties