<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.reliawiki.com/index.php?action=history&amp;feed=atom&amp;title=CScheduledTask.SetPools_Method</id>
	<title>CScheduledTask.SetPools Method - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.reliawiki.com/index.php?action=history&amp;feed=atom&amp;title=CScheduledTask.SetPools_Method"/>
	<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;action=history"/>
	<updated>2026-04-07T17:47:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;diff=65544&amp;oldid=prev</id>
		<title>David J. Groebel at 17:03, 4 May 2020</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;diff=65544&amp;oldid=prev"/>
		<updated>2020-05-04T17:03:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:03, 4 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;Create an array and define the pools to be assigned. For this example,}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;Create an array and define the pools to be assigned. For this example,}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;assume that Pool ID#2 and ID#4 are to be assigned to the task with 3 and 5 parts, respectively.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{APIComment|&amp;#039;assume that Pool ID#2 and ID#4 are to be assigned to the task with 3 and 5 parts, respectively.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   {{APIPrefix|Dim}} myarray(1) {{APIPrefix|As &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Long&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   {{APIPrefix|Dim}} myarray(1) {{APIPrefix|As &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PoolInfo&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   myarray(0).ID = 2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   myarray(0).ID = 2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   myarray(0).NumParts = 3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   myarray(0).NumParts = 3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David J. Groebel</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;diff=65399&amp;oldid=prev</id>
		<title>David J. Groebel at 18:37, 10 August 2018</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;diff=65399&amp;oldid=prev"/>
		<updated>2018-08-10T18:37:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:37, 10 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &#039;&#039;&#039;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SetCrewIDs&lt;/del&gt;&#039;&#039;&#039;(&#039;&#039;arr()&#039;&#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &#039;&#039;&#039;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SetPools&lt;/ins&gt;&#039;&#039;&#039;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{APIPrefix|ByRef}} &lt;/ins&gt;&#039;&#039;arr()&#039;&#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Parameters===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Parameters===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David J. Groebel</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;diff=65391&amp;oldid=prev</id>
		<title>David J. Groebel: Created page with &#039;{{DISPLAYTITLE:cScheduledTask.SetPools Method}}{{Template:API}}{{Template:APIBreadcrumb|.cScheduledTask}}   &lt;onlyinclude&gt;Sets the Pool IDs and number of …&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CScheduledTask.SetPools_Method&amp;diff=65391&amp;oldid=prev"/>
		<updated>2018-08-10T00:20:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{DISPLAYTITLE:cScheduledTask.SetPools Method}}{{Template:API}}{{Template:APIBreadcrumb|.&lt;a href=&quot;/index.php/CScheduledTask_Class&quot; title=&quot;CScheduledTask Class&quot;&gt;cScheduledTask&lt;/a&gt;}}   &amp;lt;onlyinclude&amp;gt;Sets the Pool IDs and number of …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:cScheduledTask.SetPools Method}}{{Template:API}}{{Template:APIBreadcrumb|.[[CScheduledTask_Class|cScheduledTask]]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;Sets the Pool IDs and number of parts for all pools required for the task.&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Remarks&amp;#039;&amp;#039;&amp;#039;: Alternatively, .NET users can use the &amp;lt;code&amp;gt;Pools()&amp;lt;/code&amp;gt; property in the class to get or set the crew IDs.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;.SetCrewIDs&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;arr()&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;#039;&amp;#039;arr()&amp;#039;&amp;#039;&lt;br /&gt;
:Required as [[PoolInfo|PoolInfo]]. An array of the Pool IDs and the number of parts for all pools required for the task.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example assumes that the repository contains existing pools.&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;VBA&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|...}}&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Add code to create a new task or get an existing task.}}&lt;br /&gt;
  {{APIPrefix|Dim}} aTask {{APIPrefix|As}} cScheduledTask&lt;br /&gt;
 {{APIComment|...}}&lt;br /&gt;
 &lt;br /&gt;
 {{APIComment|&amp;#039;Create an array and define the pools to be assigned. For this example,}}&lt;br /&gt;
 {{APIComment|&amp;#039;assume that Pool ID#2 and ID#4 are to be assigned to the task with 3 and 5 parts, respectively.}}&lt;br /&gt;
  {{APIPrefix|Dim}} myarray(1) {{APIPrefix|As Long}}&lt;br /&gt;
  myarray(0).ID = 2&lt;br /&gt;
  myarray(0).NumParts = 3&lt;br /&gt;
  myarray(1).ID = 4&lt;br /&gt;
  myarray(1).NumParts = 5&lt;br /&gt;
  &lt;br /&gt;
 {{APIComment|&amp;#039;Assign the pools to the task.}}&lt;br /&gt;
  {{APIPrefix|Call}} aTask.SetPools(myarray)&lt;/div&gt;</summary>
		<author><name>David J. Groebel</name></author>
	</entry>
</feed>