GetSDMDefinition Method in Class SMS_ConfigurationItem

The GetSDMDefinition Windows Management Instrumentation (WMI) class method, in Configuration Manager, 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 and defines the method.

Syntax

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

SMS_ConfigurationItem Server WMI Class