예제 #1
0
        // Public Methods (4) 

        /// <summary>
        ///     Adds the tag order.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <param name="spWeb">The sp web.</param>
        /// <returns></returns>
        public string AddTagOrder(string data, SPWeb spWeb)
        {
            try
            {
                var tagManager = new TagManager(spWeb);
                return(Response.Success(tagManager.AddTagOrder(data)));
            }
            catch (APIException ex)
            {
                return(Response.Failure(ex.ExceptionNumber, string.Format("Error: {0}", ex.Message)));
            }
        }