|
|
|
|
|
<gglDrive variable>.DeleteFile (Function) In french: <Variable gglDrive>.SupprimeFichier
Not available
Deletes a Google Docs Editor file from Google Drive.
oOAuth2Param is OAuth2Parameters
oOAuth2Param.ClientID = "client_id"
oOAuth2Param.ClientSecret = "client_secret"
oOAuth2Param.RedirectionURL = "http://localhost:9000/"
DriveGoogle is gglDrive
DriveGoogle = GglDriveConnect(oOAuth2Param)
IF DriveGoogle.SupprimeFichier("/MesRépertoires/Fichier.txt") = False THEN
Error("Impossible de supprimer le fichier demandé", ErrorInfo())
RETURN
END
Syntax
<Result> = <Google Drive>.DeleteFile(<File to delete>)
<Result>: Boolean - True if the file was deleted,
- False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Google Drive>: gglDrive variable Name of the gglDrive variable that corresponds to the Google Drive service to be used. The connection to the drive must have been previously established. Otherwise, the element is not deleted. <File to delete>: GglFile variable Name of the GglFile variable that corresponds to the file to be manipulated. Remarks A file deleted with <gglDrive variable>.DeleteFile cannot be recreated directly. The user must log in again to recreate the file. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|