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
For more information, see Configuration Manager Server Development Requirements.
See Also
Tasks
How to Create a Data Discovery RecordHow to Add New Properties to an Existing Resource Type
Reference
DDRPropertyFlagsEnum EnumerationConcepts
SMSResGen COM Automation ClassOther Resources
Extending Resource DiscoveryExtending Resource Discovery
How to Get the Unique Identifier Value for a Client
ISMSResGen Interface
Send comments about this topic to Microsoft.