edmiRemoteImportBinaryPackage

/* Options */
#define DELETING_EXISTING_MODEL                     0100
#define ALL_FILE_OBJECTS                           01000
#define NO_FILE_OBJECTS                            02000
#define BINARY_PACKAGE_ON_SERVER_FILE_SYSTEM       04000
#define KEEP_BINARY_PACKAGE_AFTER_IMPORT     01000000000
                                   
EdmiError     _CDECL edmiImportBinaryPackage      (SdaiString         binPackageLocation, 
                                                   SdaiString         binPackageName,
                                                   SdaiOptions        options);

EdmiError   _CDECL edmiRemoteImportBinaryPackage  (SdaiServerContext  serverContextId,  
                                                   SdaiString         binaryPackageLocation,
                                                   SdaiString         binaryPackageName, 
                                                   SdaiOptions        options,           
                                                   SdaiInvocationId  *edmiInvocationId); 

Arguments


TypeNameComment
SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

SdaiString

binPackageLocation

The ...

SdaiString

binPackageName 

The ...

SdaiOptions

options

All option names are defined in the header file sdai.h.

SdaiInvocationId

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


  

Option

Comment

DELETING_EXISTING_MODEL


ALL_FILE_OBJECTS


NO_FILE_OBJECTS


BINARY_PACKAGE_ON_SERVER_FILE_SYSTEM


KEEP_BINARY_PACKAGE_AFTER_IMPORTIf not  set, the binary package folder on disk will be deleted


Example



 EdmiError rstat;
 SdaiServerContext myContext;

  
 /* Define Remote Server Context */
 rstat = edmiDefineServerContext("MyRemoteServerContext",
 "Superuser", NULL, "cf37ftr", 
 "TCP", "9090", "MyServerHost", 
 NULL, NULL, NULL, NULL, NULL, &myContext); 
  
/* todo */
 . . .


See also

Filter by label

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