In Configuration Manager 2007, the DDRWrite function writes the data discovery records (DDRs) to a file.

[IDL]
HRESULT DDRWrite(
	 [in] BSTR FileName
   );

Parameters

FileName


Valid Universal Naming Convention (UNC) file name. Use the .ddr file name extension when you specify the file name.

Return Values

If the function succeeds, the return value is S_OK.

If the DDRNew function has not been called or a file error occurs, the return value is S_FALSE.

Remarks

Calling DDRWrite completes the DDR and writes the record to a binary file. The DDR must be copied to the Data Discovery Manager (DDM) inbox on the site server at a later time (SMS\Inboxes\Auth\Ddm.box).

Requirements

Runtime Requirements

smsrsgenctl.dll

smsrsgen.dll

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

See Also


Send comments about this topic to Microsoft.