<div class="content"><p>The IContainerControl2 <a href="3f01a312-3391-4109-a96e-95358babf191#gt_95913fbd-3262-47ae-b5eb-18e6806824b9" data-linktype="relative-path">interface</a> provides methods
for controlling <a href="24094dc0-325f-4692-b0dc-f73af34021fb" data-linktype="relative-path">InstanceContainers (section 2.2.9)</a>.
This interface inherits from <a href="../ms-dcom/2b4db106-fb79-4a67-b45f-63654f19c54c" data-linktype="relative-path">IUnknown</a>,
as specified in <a href="../ms-dcom/4a893f3d-bd29-48cd-9f43-d9777a4415b0" data-linktype="relative-path">[MS-DCOM]</a>
section 3.1.1.5.8.</p><p>To receive incoming remote calls for this interface, the
server MUST implement a DCOM Object Class with the <a href="3f01a312-3391-4109-a96e-95358babf191#gt_e433c806-6cb6-46a2-bb95-523df8818c99" data-linktype="relative-path">CLSID</a> CLSID_COMAServer,
specified in section <a href="3afd05f6-01a3-4920-951f-f9c703a3b0f1" data-linktype="relative-path">1.9</a>,
using the <a href="3f01a312-3391-4109-a96e-95358babf191#gt_c4813fc3-b2e5-4aa3-bde7-421d950d68d3" data-linktype="relative-path">UUID</a>
{6C935649-30A6-4211-8687-C4C83E5FE1C7} for this interface.</p><p>This interface includes the following methods beyond those
of IUnknown.</p><p>Methods in RPC Opnum Order</p><table><thead>
  <tr>
   <th>
   <p>Method</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p><a href="e0c7e03c-8610-4756-9e1e-dc0d11ffadaa" data-linktype="relative-path">ShutdownContainer</a></p>
  </td>
  <td>
  <p>Shuts down an <a href="3f01a312-3391-4109-a96e-95358babf191#gt_791190e6-1e02-42cb-bd25-5aee3ab516ed" data-linktype="relative-path">instance container</a>.</p>
  <p>Opnum: 3</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="5a4106e6-22d9-4c6f-ad46-d4e0ad6180aa" data-linktype="relative-path">PauseContainer</a></p>
  </td>
  <td>
  <p>Pauses an instance container.</p>
  <p>Opnum: 4</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="94f26817-3b6c-4303-9d58-09d2deb3acd6" data-linktype="relative-path">ResumeContainer</a></p>
  </td>
  <td>
  <p>Resumes a paused instance container.</p>
  <p>Opnum: 5</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="a566dedb-0e77-4189-ae90-9e79e23c36b4" data-linktype="relative-path">IsContainerPaused</a></p>
  </td>
  <td>
  <p>Determines whether an instance container is paused.</p>
  <p>Opnum: 6</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="cf0071a6-50b5-45ea-9f81-69e945f7f869" data-linktype="relative-path">GetRunningContainers</a></p>
  </td>
  <td>
  <p>Returns a list of running instance containers for a <a href="3f01a312-3391-4109-a96e-95358babf191#gt_ea5c531f-5dd5-43aa-9da1-2ae068c622db" data-linktype="relative-path">conglomeration</a>.</p>
  <p>Opnum: 7</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="f9bde790-f3f2-49f2-8a8f-0b54eb63812c" data-linktype="relative-path">GetContainerIDFromProcessID</a></p>
  </td>
  <td>
  <p>Returns the instance container identifier
  corresponding to a process identifier.</p>
  <p>Opnum: 8</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="83a866e9-e23b-4c75-bd4a-f3aeb7c28959" data-linktype="relative-path">RecycleContainer</a></p>
  </td>
  <td>
  <p>Forces an instance container to be recycled.</p>
  <p>Opnum: 9</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="b02f27cd-2fbb-4564-add8-b9cbe1f55912" data-linktype="relative-path">GetContainerIDFromConglomerationID</a></p>
  </td>
  <td>
  <p>Returns the instance <a href="3f01a312-3391-4109-a96e-95358babf191#gt_07da3776-ca7c-4e8a-8c94-95d59b2f40b8" data-linktype="relative-path">container identifier</a> of
  an instance container for a conglomeration.</p>
  <p>Opnum: 10</p>
  </td>
 </tr></tbody></table><p>All methods MUST NOT throw exceptions.</p></div>