...
To be completed
Related function: edmiRemoteGetInternalDataBN
Header:
#include "sdai.h"
Prototype:
EdmiError
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiRemoteSetInternalDataBN(SdaiServerContext |
...
serverContextId,
SdaiString qualifiedString,
SdaiString userName,
SdaiString password,
SdaiUnsignedInt options,
SdaiSelect data,
SdaiInvocationId *edmiInvocationId);
|
Use this function to alter the value of a Configuration Parameter.
Arguments
...
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiString | qualifiedString | The name of the Configuration Variable |
SdaiString | userName | Name of an existing EDMuser account in the actual EDMdatabase. EDMuser account names are case insensitive. |
SdaiString | password | The password for the EDMuser specified by the <userName> argument. Initially an EDMuser is created without any password. A password can be changed by the edmiDefinePassword or edmiChangePassword function. |
SdaiUnsignedInt | options | Specifies the options to be used in the invocation of the edmiRemoteSetInternalDataBN function. The <options> value can be specified as a bitwise OR between the actual options to enable. All option names are defined on the header file sdai.h . |
SdaiSelect | data | The value of the Configuration Variable |
SdaiInvocationId | edmiInvocationId | Not yet used. When the edmiInvocationId is specified unequal NULL, the actual operation will be asynchronous and a handle (identifier) of the call will be returned in the edmiInvocationId argument. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Name | Comment |
SERVER_CONFIGURATION | Use this option to address the configuration set of the remote EDMdatabase used by the EDMsixServer |
DEFAULT_VALUE | Used to set or get the default value of the parameter |
DO_GETENV |
|
...
Read the value from the set of environment variables |
Example
...
Code Block | ||
---|---|---|
| ||
#include <windows.h>
#include <sdai.h>
/* ----------------------------------------------------------------------
* Sample : EmbedEDMruntimeLicenseKey.
* Descr. : Installs an EDMruntime key license in an applications
* private runtime environment.
* Note: Invoke this function before calling any other EDMI
* library function requiring a license key.
* ---------------------------------------------------------------------- */
SdaiErrorCode EmbedEDMruntimeLicenseKey(SdaiString licKey)
{
EdmiError rstat;
tSdaiSelect mySelect;
mySelect.value.stringVal = licKey;
mySelect.type = sdaiSTRING;
mySelect.nTypes = 0;
rstat = edmiSetInternalDataBN("EDM_LICENSE", "", "", 0, &mySelect);
return(rstat);
}
|
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|