SchemaAssociationRefConstraintCount Property
The number of referential constraints.
Syntax
ANSI (Cross Platform) int GetSchemaAssociationRefConstraintCount(); Unicode (Windows) INT GetSchemaAssociationRefConstraintCount();
@property (nonatomic,readonly,assign,getter=schemaAssociationRefConstraintCount) int schemaAssociationRefConstraintCount; - (int)schemaAssociationRefConstraintCount;
#define PID_ODATA_SCHEMAASSOCIATIONREFCONSTRAINTCOUNT 96 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_OData_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
0
Remarks
The number of referential constraints. To examine the individual referential constraints set SchemaAssociationRefConstraintIndex
to a value from 0 to SchemaAssociationRefConstraintCount -1. For instance:
For i = 0 to odata.SchemaAssociation.RefConstraintCount - 1 odata.SchemaAssociation.RefConstraintIndex = i; Console.Write(odata.SchemaAssociation.RefConstraintProperty); Console.Write(odata.SchemaAssociation.RefConstraintReferencedProperty); Next i
This property is only applicable to OData Version 4.
The parameter specifies the index of the item in the array. The size of the array is controlled by the SchemaAssociationCount property.
This property is read-only and not available at design time.
Data Type
Integer