/// <summary>
        ///		Carga los modos de distribución
        /// </summary>
        internal DeploymentModelCollection Load(ProjectModel project, MLNode rootML)
        {
            DeploymentModelCollection deployments = new DeploymentModelCollection();

            // Carga los datos
            foreach (MLNode nodeML in rootML.Nodes)
            {
                if (nodeML.Name == TagRoot)
                {
                    DeploymentModel deployment = new DeploymentModel();

                    // Carga los datos
                    LoadBase(nodeML, deployment);
                    deployment.PathScriptsTarget = nodeML.Nodes[TagPathScriptsTarget].Value;
                    deployment.PathFilesTarget   = nodeML.Nodes[TagPathFilesTarget].Value;
                    // Carga las conexiones y parámetros
                    foreach (MLNode childML in nodeML.Nodes)
                    {
                        switch (childML.Name)
                        {
                        case TagConnection:
                            if (!string.IsNullOrEmpty(childML.Attributes[TagKey].Value) &&
                                !string.IsNullOrEmpty(childML.Attributes[TagId].Value))
                            {
                                deployment.Connections.Add(childML.Attributes[TagKey].Value,
                                                           project.Connections.Search(childML.Attributes[TagId].Value) as DatabaseConnectionModel);
                            }
                            break;

                        case TagScript:
                            deployment.Scripts.Add(LoadScript(childML));
                            break;

                        case TagFormatReportType:
                            deployment.ReportFormatTypes.Add(childML.Value.GetEnum(DeploymentModel.ReportFormat.Xml));
                            break;
                        }
                    }
                    // Carga los parámetros
                    LoadParameters(nodeML, deployment.Parameters);
                    // Añade los datos de la distribución
                    deployments.Add(deployment);
                }
            }
            // Devuelve la colección de distribuciones
            return(deployments);
        }