| 4D v18dataStore.getInfo( ) | ||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 dataStore.getInfo( ) 
         | |||||||||||||||||||||||||||||||
| Propriété | Type | Description | |||||||||||||||
| type | chaîne | 
 | |||||||||||||||
| networked | booléen | 
 | |||||||||||||||
| localID | chaîne | ID du datastore sur la machine. Correspond à la chaîne localId donnée avec la commande Ouvrir datastore. Chaîne vide ("") for le datastore principal. | |||||||||||||||
| connection | objet | Objet décrivant la connexion au datastore distant (non retourné par le datastore principal). Propriétés disponibles : 
 | 
 C_OBJET($info)
 
 $info:=ds.getInfo() //Exécutée sur 4D Server ou 4D
  //{"type":"4D","networked":faux,"localID":""}
 
 $info:=ds.getInfo() // /Exécutée sur 4D distant
  //{"type":"4D","networked":vrai,localID":""}Sur un datastore distant :
 C_OBJET($info;$connectTo;$remoteDS)
 
 $connectTo:=Creer objet("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa")
 $remoteDS:=Ouvrir datastore($connectTo;"students")
 $info:=$remoteDS.getInfo()
 
  //{"type":"4D Server",
  //"localID":"students",
  //"networked":vrai,
  //"connection":{hostname:"111.222.33.44:8044","tls":faux,"idleTimeout":2880,"user":"marie"}}
	Produit :  4D
	Thème :  ORDA - DataStore
	
        
        
	Nom intl. :  dataStore.getInfo( )
	4D - Langage ( 4D v18)
	
	
	
 Ajouter un commentaire
Ajouter un commentaire