Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiRemoteSetInternalDataBN(SdaiServerContext serverContextId,
                                       SdaiString        qualifiedString,
                                       SdaiString        userName,
                                       SdaiString        password,
                                       SdaiUnsignedInt   options,
                                       SdaiSelect        data,
                                       SdaiInvocationId  *edmiInvocationId);


<Description>Use this function to alter the value of a Configuration Parameter.

Arguments

...

TypeNameComment
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 .
See detailed descriptions of the available options below.

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.
This handle can be used in later operations for requesting the status (waiting, running, finished ..) and the result of the actual operation.

...

NameComment

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
languagecpp
 <missing code> #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)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"

...