BuildMaster SDK Reference
   
  
    
      
        Version: 
        
      
      
      
      ImportFromXml(int deploymentPlanId, System.IO.Stream stream) Method
  
            Imports a deployment plan from an XML file.
            
 
  Syntax
  
    public
    static
    void ImportFromXml(int deploymentPlanId, System.IO.Stream stream)
  Parameters
  
    - deploymentPlanId
 
    - Type: int
The deployment plan into which the plan will be imported.
 
  
  
    - stream
 
    - Type: System.IO.Stream
A System.IO.Stream containing the plan to import.
 
  
 
  Exceptions
  
    
      | 
        System.ArgumentNullException
       | 
      
         
          stream is null (Nothing in Visual Basic). 
       | 
    
    
      | 
        System.AggregateException
       | 
      
         A validation error occurred. 
       |