<div class="content"><p>The following are the properties that MUST be implemented by
the objects that implement the IDataCollector interface.</p><table><thead>
  <tr>
   <th>
   <p>Property </p>
   </th>
   <th>
   <p>Read/write </p>
   </th>
   <th>
   <p>Description </p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>DataCollectorSet</p>
  </td>
  <td>
  <p>R</p>
  </td>
  <td>
  <p>The <a href="f43f48aa-80a5-4b39-971e-7b3ac0bd9d0d#gt_a6bcff77-b369-406d-9c0c-35a4771c1d0f" data-linktype="relative-path">data
  collector set</a> to which this <a href="f43f48aa-80a5-4b39-971e-7b3ac0bd9d0d#gt_3184c8c5-f13b-4d77-b04a-b92feff97f61" data-linktype="relative-path">data collector</a> belongs.</p>
  </td>
 </tr><tr>
  <td>
  <p>DataCollectorType</p>
  </td>
  <td>
  <p>R</p>
  </td>
  <td>
  <p>The type of data collector.</p>
  </td>
 </tr><tr>
  <td>
  <p>FileName</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>The base name of the file containing the output of the
  data collector.</p>
  </td>
 </tr><tr>
  <td>
  <p>FileNameFormat</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>Determines how the name of the file storing the output
  of the data collector will be formatted. The FileName property itself
  (described above) is always included. The filename can optionally be
  decorated with other information. These possible decorations are specified by
  the <a href="e91b47a7-18e2-44ff-a52e-1999f99d39ea" data-linktype="relative-path">AutoPathFormat</a>
  enumeration. This property stores an AutoPathFormat value. </p>
  <p> If the AutoPathFormat value specified by this
  property includes the &#39;plaPattern&#39; bit, the FileNameFormatPattern (specified
  below) contains the pattern that will be appended to the filename. The format
  of the pattern is specified in section <a href="b9c08809-e24a-4b89-8083-e32dc2334b7c" data-linktype="relative-path">2.2.3.1</a>. </p>
  </td>
 </tr><tr>
  <td>
  <p>FileNameFormatPattern</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>If patterns are to be included in the decoration of
  file names, determines the pattern to use. Patterns are included in the
  decoration if the value of the FileNameFormat property (specified above)
  includes the &#39;plaPattern&#39; bit. The format of the pattern is specified in
  section 2.2.3.1.</p>
  </td>
 </tr><tr>
  <td>
  <p>Index</p>
  </td>
  <td>
  <p>R</p>
  </td>
  <td>
  <p>The index value of the data collector.</p>
  </td>
 </tr><tr>
  <td>
  <p>LatestOutputLocation</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>Full path of the file where data was stored the last
  time the data collector ran.</p>
  </td>
 </tr><tr>
  <td>
  <p>LogAppend</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>Specifies whether existing files MUST be appended.</p>
  </td>
 </tr><tr>
  <td>
  <p>LogCircular</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>Specifies whether files MUST be circular.</p>
  </td>
 </tr><tr>
  <td>
  <p>LogOverwrite</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>Specifies whether existing files MUST be overwritten.</p>
  </td>
 </tr><tr>
  <td>
  <p>Name</p>
  </td>
  <td>
  <p>RW</p>
  </td>
  <td>
  <p>Name of the data collector.</p>
  </td>
 </tr><tr>
  <td>
  <p>OutputLocation</p>
  </td>
  <td>
  <p>R</p>
  </td>
  <td>
  <p>Full path of the file where data would be stored if
  the data collector were to start now.</p>
  </td>
 </tr><tr>
  <td>
  <p>Xml</p>
  </td>
  <td>
  <p>R</p>
  </td>
  <td>
  <p>The XML representation of the data collector set.</p>
  </td>
 </tr></tbody></table><p>A data collector can be represented as an XML file, which
can be used to serialize (using Xml (Get) <a href="38b478b4-408e-4702-aecf-946177a9f06b" data-linktype="relative-path">3.2.4.5.21</a>) and deserialize
(using SetXml <a href="6f99ca8b-2197-43eb-b17a-7761c529787c" data-linktype="relative-path">3.2.4.5.22</a>)
it. The full XML is specified in section <a href="b5be2d38-3f21-478d-a8b9-a61128eb2751" data-linktype="relative-path">3.2.4.19</a>. The format of
the XML that defines a data collector, and is common to all types of data
collectors, is as follows: </p><dl>
<dd>
<div><pre>     
 &lt;DataCollectorType/&gt;
     &lt;FileName/&gt; 
     &lt;FileNameFormat/&gt; 
     &lt;FileNameFormatPattern/&gt; 
     &lt;Index/&gt; 
     &lt;LatestOutputLocation/&gt; 
     &lt;LogAppend/&gt; 
     &lt;LogCircular/&gt; 
     &lt;LogOverwrite/&gt; 
     &lt;Name/&gt; 
     &lt;OutputLocation/&gt; 
  
</pre></div>
</dd></dl><p><a href="f43f48aa-80a5-4b39-971e-7b3ac0bd9d0d#gt_e127848e-c66d-427d-b3aa-9f904fa4ada7" data-linktype="relative-path">Opnums</a>
8, 28 and 31 are not used across the network. These opnums are reserved and
MUST NOT be reused by non-Microsoft implementations.<a id="Appendix_A_Target_17"></a><a aria-label="Product behavior note 17" href="905cad7f-1a12-49b4-a263-461a2977ab71#Appendix_A_17" data-linktype="relative-path">&lt;17&gt;</a></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="478f6f93-6f80-4c50-94c3-d5c4c1f3f80b" data-linktype="relative-path">DataCollectorSet
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the DataCollectorSet property.</p>
  <p>Opnum: 7</p>
  </td>
 </tr><tr>
  <td>
  <p>Opnum8NotUsedOnWire</p>
  </td>
  <td>
  <p>Reserved for local use.</p>
  <p>Opnum: 8</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="a2187a8d-249a-4c01-b130-4ef798a26468" data-linktype="relative-path">DataCollectorType
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the DataCollectorType property. </p>
  <p>Opnum: 9</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="ab9750cf-e055-4f72-9d49-fc3d5809229e" data-linktype="relative-path">FileName
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the FileName property.</p>
  <p>Opnum: 10</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="c8dde94d-a07d-4a67-a9cd-4d807f6e694b" data-linktype="relative-path">FileName
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the FileName property.</p>
  <p>Opnum: 11</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="be7f72c7-2c83-46e3-8be2-94972b6d7c28" data-linktype="relative-path">FileNameFormat
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the FileNameFormat property.</p>
  <p>Opnum: 12</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="c02d8a35-7848-4dc1-89f2-769291ca040b" data-linktype="relative-path">FileNameFormat
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the FileNameFormat property.</p>
  <p>Opnum: 13</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="900672ac-de96-4154-9a09-fa3d6226f333" data-linktype="relative-path">FileNameFormatPattern
  (Get)</a></p>
  </td>
  <td>
  <p> Retrieves the FileNameFormatPattern property.</p>
  <p>Opnum: 14</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="d592e994-7efe-4354-9fdb-36da05877bd3" data-linktype="relative-path">FileNameFormatPattern
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the FileNameFormatPattern property.</p>
  <p>Opnum: 15</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="dcdcaa1f-7c04-41d7-8cd7-628a18e99850" data-linktype="relative-path">LatestOutputLocation
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the LatestOutputLocation property.</p>
  <p>Opnum: 16</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="6afafe36-c6f3-496d-8778-f554e321efd3" data-linktype="relative-path">LatestOutputLocation
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the LatestOutputLocation property.</p>
  <p>Opnum: 17</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="84270248-976e-4044-9360-63ec52111bf6" data-linktype="relative-path">LogAppend
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the LogAppend property.</p>
  <p>Opnum: 18</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="948fa53a-9a65-4512-873a-a198bc652c26" data-linktype="relative-path">LogAppend
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the LogAppend property.</p>
  <p>Opnum: 19</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="a0e532c0-fa10-442d-9b85-4ed47792766c" data-linktype="relative-path">LogCircular
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the LogCircular property</p>
  <p>Opnum: 20</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="7b9178a6-1b62-4646-b7a2-1df21b0ffc2a" data-linktype="relative-path">LogCircular
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the LogCircular property.</p>
  <p>Opnum: 21</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="58e21a5d-5372-476e-b767-89302f678812" data-linktype="relative-path">LogOverwrite
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the LogOverwrite property.</p>
  <p>Opnum: 22</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="7b039656-9dd6-49b4-894f-d400534f3058" data-linktype="relative-path">LogOverwrite
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the LogOverwrite property.</p>
  <p>Opnum: 23</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="4498852e-47f6-4127-a71d-7f06499e0063" data-linktype="relative-path">Name
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the Name property. </p>
  <p>Opnum: 24</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="cb166986-d55d-4e30-9129-1a2c02474ae9" data-linktype="relative-path">Name
  (Put)</a></p>
  </td>
  <td>
  <p>Sets the Name property. </p>
  <p>Opnum: 25</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="d1809bc9-50a6-4796-a9b4-19993c52b5db" data-linktype="relative-path">OutputLocation
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the OutputLocation property.</p>
  <p>Opnum: 26</p>
  </td>
 </tr><tr>
  <td>
  <p><a href="5fe5ee58-95f1-4f35-81da-1ca888d6e90d" data-linktype="relative-path">Index
  (Get)</a></p>
  </td>
  <td>
  <p>Retrieves the Index property.</p>
  <p>Opnum: 27</p>
  </td>
 </tr><tr>
  <td>
  <p>Opnum28NotUsedOnWire</p>
  </td>
  <td>
  <p>Reserved for local use.</p>
  <p>Opnum: 28</p>
  </td>
 </tr><tr>
  <td>
  <p>Xml (Get)</p>
  </td>
  <td>
  <p>Retrieves the XML property.</p>
  <p>Opnum: 29</p>
  </td>
 </tr><tr>
  <td>
  <p>SetXml</p>
  </td>
  <td>
  <p>Sets the properties of the data collector using the
  values in the XML file.</p>
  <p>Opnum: 30</p>
  </td>
 </tr><tr>
  <td>
  <p>Opnum31NotUsedOnWire</p>
  </td>
  <td>
  <p>Reserved for local use.</p>
  <p>Opnum: 31</p>
  </td>
 </tr></tbody></table><p>Opnums 0, 1, and 2 are reserved for the IUnknown interface.
Opnums 3, 4, 5, and 6 are reserved for the IDispatch interface.</p></div>