Udostępnij za pośrednictwem


DDRWrite

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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

[IDL]
HRESULT DDRWrite(

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 Record
How to Add New Properties to an Existing Resource Type

Concepts

Extending Resource Discovery
DDRPropertyFlagsEnum Enumeration
SMSResGen COM Automation Class
Extending Resource Discovery
How to Get the Unique Identifier Value for a Client
ISMSResGen Interface