Exemplo n.º 1
0
        public Task CreateTask(string parent, string name, string description)
        {
            AdTask t = new AdTask();

            t.ContainerDn = parent;
            t.Name        = name;
            t.Description = description;

            t.Operations = new Collections.OperationCollection(true);
            t.Tasks      = new Collections.TaskCollection(true);

            _Service.Save(t.CreateNew());

            return(new Task(t));
        }