PdcCalculation.Priority: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
Priority as VT_INT


== Description ==
== Description ==
 
Returns or changes the priority


== Notes ==
== Notes ==
 
This property returns or sets the (planning) 'Priority' property of the current calculation. This property can be found on the 'Other' treenode of the calculation.


== Code example ==
== Code example ==
 
This code example sets the Priority of the active calculation.


<source lang="vb">
<source lang="vb">
dim objCalc


  set objCalc = pdc.ActiveCalculation
  objCalc.Priority = 2
</source>
</source>
The stated table shows the possible Priority options.
0 Low
1 Normal
2 High
3 Critical


== Availability ==
== Availability ==

Revision as of 10:10, 21 May 2012

Declaration

Priority as VT_INT

Description

Returns or changes the priority

Notes

This property returns or sets the (planning) 'Priority' property of the current calculation. This property can be found on the 'Other' treenode of the calculation.

Code example

This code example sets the Priority of the active calculation.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  objCalc.Priority = 2

The stated table shows the possible Priority options.

0 Low 1 Normal 2 High 3 Critical

Availability