Description:
This function return the number of a given column from the given EDMtableInstance.
Related functions:
edmiRemoteCreateTableInstance, edmiRemoteDeleteTableInstance, edmiRemoteGetTableInstanceId, edmiRemoteIsTableInstance, edmiRemoteGetTableInstancesEntityExtent, edmiRemoteCreateTableInstanceColumn, edmiRemoteDeleteTableInstanceColumn, edmiRemoteSetTableInstanceColumnsValue, edmiRemoteGetTableInstanceColumnsValue, edmiRemoteInsertTableInstanceRows, edmiRemoteDeleteTableInstanceRows, edmiRemoteGetTableInstanceProperties, edmiRemoteSetTableInstanceProperty, edmiRemoteGetTableInstanceProperty
Header:
#include "sdai.h"
Prototype:
EdmiError edmiRemoteGetTableInstanceColumnNumber (SdaiServerContext serverContextId,
SdaiInstance tableInstanceId,
SdaiString columnName,
SdaiInteger *columnNumber,
SdaiInvocationId *edmiInvocationId);
Arguments:
Argument type |
Argument name |
Comments |
SdaiServerContext |
serverContextId |
server context name |
SdaiInstance |
tableInstanceId |
instance id for the table |
SdaiString |
columnName |
|
SdaiInteger |
*columnNumber |
|
SdaiInvocationId |
*edmiInvocationId |
|
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0: Operation successfully performed.
_Completion code != 0: Error in operation. Completion code is an EDMinterface_ error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE