DedNetConnectorCommands.RemoveDocument Method

DedNetConnector

DedNetConnectorCommandsRemoveDocument Method

Elimina il documento dal database nel caso in cui non sia utilizzato in nessuna anagrafica. Se il documento è utilizzato in 1 o più anagrafiche verrà generata una eccezione.

Namespace:  DedNetConnector
Assembly:  DedNetConnector (in DedNetConnector.dll) Version: 23.0.0.0 (23.0.0.0)
Syntax
public bool RemoveDocument(
	string file,
	bool showException = false
)
Public Function RemoveDocument ( 
	file As String,
	Optional showException As Boolean = false
) As Boolean
public:
bool RemoveDocument(
	String^ file, 
	bool showException = false
)
member RemoveDocument : 
        file : string * 
        ?showException : bool 
(* Defaults:
        let _showException = defaultArg showException false
*)
-> bool 

Parameters

file
Type: SystemString
Percorso del documento su cui eseguire l'operazione.
showException (Optional)
Type: SystemBoolean
Indica se visualizzare eventuali eccezioni all'interno di un apposito dialogo; Default: False.

Return Value

Type: Boolean
Tipo: 'System.Boolean'; Ritorna 'True' se l'operazione è andata a buon fine, 'False' altrimenti.
See Also