edmiRemoteExportBinaryPackage

/* options */
#define ALL_FILE_OBJECTS                         01000
#define NO_FILE_OBJECTS                          02000
#define BINARY_PACKAGE_ON_SERVER_FILE_SYSTEM     04000
#define DELETE_EXISTING_BINARY_PACKAGE       010000000                                       

EdmiError     _CDECL edmiExportBinaryPackage         (SdaiModel           modelId,
                                                      SdaiString          binPackageLocation, 
                                                      SdaiString          binPackageName,
                                                      SdaiOptions         options);

EdmiError     _CDECL edmiRemoteExportBinaryPackage   (SdaiServerContext   serverContextId, 
                                                      SdaiString          binPackageLocation, 
                                                      SdaiString          binPackageName,
                                                      SdaiOptions         options,
                                                      SdaiInteger         modelsToExport,
                                                      SdaiOptions         options,           
                                                      SdaiInvocationId   *edmiInvocationId); 

Arguments


TypeNameComment
SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

SdaiModelmodelIdIdentify model to export (edmiExportBinaryPackage only)
SdaiString

repositoryName 

Identify model to export (edmiRemoteExportBinaryPackage only)

SdaiString

modelName 

Identify model to export (edmiRemoteExportBinaryPackage only)

SdaiString

binPackageLocation

root folder for binary package, package will be a subfolder

SdaiString

binPackageName 

optional; default name: "EDM.dbName.MmodelIndex.RepName.ModelName.Bin"

EdmiPackedDate

filesNewerThan

The ...

EdmiPackedDate

filesOlderThan

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

ALL_FILE_OBJECTS


NO_FILE_OBJECTS


BINARY_PACKAGE_ON_SERVER_FILE_SYSTEM


DELETE_EXISTING_BINARY_PACKAGE



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.