Partilhar via


ResolveConflict Method in Class SMS_AISoftwareList

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

The ResolveConflict Windows Management Instrumentation (WMI) class method, in Configuration Manager, is used to resolve conflicts that result by creating or editing software entries, and the same software entry being created by Microsoft through the online synchronization.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

    
SInt32 ResolveConflict(    
     String SoftwarePropertiesHash,
     UInt32 Resolution
);

Parameters

  • SoftwarePropertiesHash
    Data type: String

    Qualifiers: [in]

    The MD5 hash of the software entry, which has a conflict to be resolved. The hash is made up of the software name, publisher, and version.

  • Resolution
    Data type: UInt32

    Qualifiers: [in]

    Action to take on the software entry.

    Value Description

    1

    Keep the local copy and discard any updates from Microsoft.

    2

    Revert the local copy and replace it with latest update from Microsoft.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Reference

SMS_Site Server WMI Class