<div class="content"><p>The BackupGetAttachmentInformation method is used to query
the <a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c925d5d7-a442-4ba4-9586-5f94ccec847a" data-linktype="relative-path">CA</a> for the names of
database files that should become part of the backup file set.</p><dl>
<dd>
<div><pre> HRESULT BackupGetAttachmentInformation(
   [out, size_is(, *pcwcDBFiles)] WCHAR** ppwszzDBFiles,
   [out] LONG* pcwcDBFiles
 );
</pre></div>
</dd></dl><p><b>ppwszzDBFiles: </b>A pointer to a WCHAR pointer
that will receive the list of null-terminated database file names. Detailed
information on database file name structure formatting is specified in section <a href="488b6344-ad86-49d9-b28c-e339ffcbb124" data-linktype="relative-path">2.2.4</a>. </p><p><b>pcwcDBFiles: </b>A pointer to an integer value
that contains the total length, in characters, of all strings (including a
NULL-terminator character) returned in <i>ppwszzDBFiles</i>. </p><p>The CA server MUST enforce the sequencing rules for
BackupGetAttachmentInformation as specified in section <a href="e37640b4-b2e1-4bac-89d2-61fc5a5e6c1d" data-linktype="relative-path">3.1.4.1.18</a>.<a id="Appendix_A_Target_50"></a><a aria-label="Product behavior note 50" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_50" data-linktype="relative-path">&lt;50&gt;</a></p><p>The CA server MUST apply the following processing rules:</p><ul><li><p><span><span> 
</span></span>If Config_CA_Interface_Flags contains the value
IF_NOREMOTEICERTADMINBACKUP, the server SHOULD return an error. <a id="Appendix_A_Target_51"></a><a aria-label="Product behavior note 51" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_51" data-linktype="relative-path">&lt;51&gt;</a></p>
</li><li><p><span><span> 
</span></span>The CA server MUST return a list of file names associated with
the CA database data files required for backup. The files corresponding to the
names that are returned MUST be accessible to the CA. Each file name MUST be in
<a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c9507dca-291d-4fd6-9cba-a9ee7da8c908" data-linktype="relative-path">UNC</a> format and MUST be
prefixed with the &#34;D&#34; character. If there are no database files, the
CA MUST set the value of the <i>pcwcDBFiles</i> parameter to 0 and return
successfully.</p>
</li></ul></div>