edmiRemoteGetHashedAttrInstanceBN


 

EdmiError edmiRemoteGetHashedAttrInstanceBN(SdaiServerContext serverContextId,         
                                             SdaiModel         modelId,                             
                                             SdaiString        entityName,                        
                                             SdaiString        attributeName,                    
                                             SdaiString        attrStringValue,                  
                                             SdaiInteger       attrIntegerValue,             
                                             SdaiInstance      *instance,                  
                                             SdaiInvocationId  *edmiInvocationId);

Search the specified model for the instance with an attribute value equal to the specified attribute. If the instance is found, the function returns completion code equal to 0 and the instance id of the instance via the argument <instance>. If the instance is not found, the function returns completion code equal to 0 and 0 via the argument <instance>. This function can only return one instance value. Therefore this function should not be used if the persistent attribute hash table is not unique.If no attribute hash table is defined for the specified attribute, no sequential search is performed and the function returns an error code.

Arguments


1TypeNameComment
2SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

3SdaiModel

modelId

The modelId that uniquely identifies the edmModel in the remote EDMdatabase

4SdaiString

entityName

The name of the entity that defines the attribute of interest. Entity names are case insensitive.

5SdaiString

attributeName

The name of the attribute of interest. Attribute names are case insensitive

6SdaiStringattrStringValueIf the attribute is of <string type>, use this argument to specify the attribute value to search for
7SdaiInteger

attrIntegerValue

If the attribute is of <integer type>, use this argument to specify the attribute value to search for.

8SdaiInstance

*instance

Address of the variable where the searched instance id is returned.

9SdaiInvocationId

*edmiInvocationId

Currently not used.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 

 

See also

Filter by label

There are no items with the selected labels at this time.

Â