BuildMaster SDK Reference
   
  
    
      
        Version: 
        
      
      
      
      RestoreDatabaseAsync(string databaseName, string sourcePath, System.Threading.CancellationToken cancellationToken) Method
  
            When implemented by a derived class, restores the specified database from the specified path.
            
 
  Syntax
  
    public
    abstract
    System.Threading.Tasks.Task RestoreDatabaseAsync(string databaseName, string sourcePath, System.Threading.CancellationToken cancellationToken)
  Parameters
  
    - databaseName
- Type: string
 The name of the database to restore 
    - sourcePath
- Type: string
 
            The path that the database will be restored from. This may either be a file or a directory
            depending on the database provider.
             
    - cancellationToken
- Type: System.Threading.CancellationToken
 Cancellation token.