ServerClientSessionCopyAllDatabasesTo Method  | 
 
            Copies all databases to a selected directory on the local host.
            
 
    Namespace: 
   VelocityDb.Session
    Assembly:
   VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntaxpublic override void CopyAllDatabasesTo(
	string directory,
	bool systemDatabaseLocationOnly = false
)
Public Overrides Sub CopyAllDatabasesTo ( 
	directory As String,
	Optional systemDatabaseLocationOnly As Boolean = false
)
public:
virtual void CopyAllDatabasesTo(
	String^ directory, 
	bool systemDatabaseLocationOnly = false
) override
abstract CopyAllDatabasesTo : 
        directory : string * 
        ?systemDatabaseLocationOnly : bool 
(* Defaults:
        let _systemDatabaseLocationOnly = defaultArg systemDatabaseLocationOnly false
*)
-> unit 
override CopyAllDatabasesTo : 
        directory : string * 
        ?systemDatabaseLocationOnly : bool 
(* Defaults:
        let _systemDatabaseLocationOnly = defaultArg systemDatabaseLocationOnly false
*)
-> unit Parameters
- directory
 - Type: SystemString
Path to a directory - systemDatabaseLocationOnly (Optional)
 - Type: SystemBoolean
Only copy databases in system database location 
See Also