Difference between revisions of "SetProjectQuestionnaireStatus"
Cg huyphong (talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | + | {{HelpFiles}} | |
====setProjectQuestionnaireStatus==== | ====setProjectQuestionnaireStatus==== | ||
− | + | Set the status of the current questionnaire. The project questionnaire context is required | |
'''Syntax''' | '''Syntax''' | ||
Line 14: | Line 14: | ||
''status'': is a number expression. It should be one of the pre-defined enumerations: | ''status'': is a number expression. It should be one of the pre-defined enumerations: | ||
− | + | ProjectQuestionnaire_Status_NotSet : 0 | |
+ | |||
+ | ProjectQuestionnaire_Status_Closed : 1 | ||
+ | |||
+ | ProjectQuestionnaire_Status_Paused : 2 | ||
+ | |||
+ | ProjectQuestionnaire_Status_Open : 3 | ||
+ | |||
+ | ProjectQuestionnaire_Status_OpenForTest : 4 | ||
'''Return type''' | '''Return type''' |
Latest revision as of 12:16, 3 January 2012
setProjectQuestionnaireStatus
Set the status of the current questionnaire. The project questionnaire context is required
Syntax
setProjectQuestionnaireStatus(status)
Arguments
status: is a number expression. It should be one of the pre-defined enumerations:
ProjectQuestionnaire_Status_NotSet : 0
ProjectQuestionnaire_Status_Closed : 1
ProjectQuestionnaire_Status_Paused : 2
ProjectQuestionnaire_Status_Open : 3
ProjectQuestionnaire_Status_OpenForTest : 4
Return type
empty
Example
setProjectQuestionnaireStatus(ProjectQuestionnaire_Status_Open);
Availability
Version 5.2