共用方式為


GetSDMDefinition Method in Class SMS_ConfigurationItem

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, the GetSDMDefinition Windows Management Instrumentation (WMI) class method retrieves the System Definition Model (SDM) definition of the configuration item in XML format.

The following syntax is simplified from Managed Object Format (MOF) code to show the definition of the method.

SInt32 GetSDMDefinition(
     String SDMDefinition
);

Parameters

  • SDMDefinition
    Data type: String

    Qualifiers: [out]

    The SDM definition in XML format.

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.

Remarks

For more information about SDM definitions, see About Authoring Configuration Baselines and Configuration Items.

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

Concepts

SMS_ConfigurationItem Server WMI Class
About Authoring Configuration Baselines and Configuration Items