Esempio n. 1
0
        public int CreateConfigParameter(string[] paramaterValues)
        {
            int errorCode = 0;

            KeyValue[] options             = new KeyValue[] { };
            string[]   parameterUploadKeys = new string[] { "PARAMETER_DESCRIPTION", "PARAMETER_DIMPATH", "PARAMETER_DISPLAYNAME", "PARAMETER_NAME"
                                                            , "PARAMETER_PARENT_NAME", "PARAMETER_SCOPE", "PARAMETER_TYPE_NAME" };
            string[] parameterUploadValues = paramaterValues;
            string[] parameterResultKeys   = new string[] { "ERROR_CODE" };
            string[] parameterResultValues = new string[] { };
            errorCode = imsapi.configCreateParameters(sessionContext, options, parameterUploadKeys, parameterUploadValues, parameterResultKeys, out parameterResultValues);
            LogHelper.Info("Api configCreateParameters error" + errorCode);
            return(errorCode);
        }