IASCOMMONPROPERTIES enumeration (sdoias.h)

The values of the IASCOMMONPROPERTIES enumeration type enumerate properties that are present in all SDO objects.

Syntax

typedef enum _IASCOMMONPROPERTIES {
  PROPERTY_SDO_RESERVED = 0,
  PROPERTY_SDO_CLASS,
  PROPERTY_SDO_NAME,
  PROPERTY_SDO_DESCRIPTION,
  PROPERTY_SDO_ID,
  PROPERTY_SDO_DATASTORE_NAME,
  PROPERTY_SDO_TEMPLATE_GUID,
  PROPERTY_SDO_OPAQUE,
  PROPERTY_SDO_START = 0x400
} IASCOMMONPROPERTIES;

Constants

 
PROPERTY_SDO_RESERVED
Value: 0
This property is reserved.
PROPERTY_SDO_CLASS
The program ID for the SDO object.
PROPERTY_SDO_NAME
The name of the SDO object.
PROPERTY_SDO_DESCRIPTION
Reserved for future use.
PROPERTY_SDO_ID
Reserved for future use.
PROPERTY_SDO_DATASTORE_NAME
The name of the datastore for the object.
PROPERTY_SDO_TEMPLATE_GUID
PROPERTY_SDO_OPAQUE
PROPERTY_SDO_START
Value: 0x400
Indicates the start of USERPROPERTIES.

Remarks

The following code snippet retrieves the name of the SDO object, if it exists. The variable pSdo is a pointer to an ISdo interface.

HRESULT hr;
_variant_t vtItemName;
hr = pSdo->GetProperty(PROPERTY_SDO_NAME, &vtItemName);

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Header sdoias.h

See also

ISdo::GetProperty