Muokkaa

Jaa


GetDependency method in class SMS_Collection

Starting in version 2010, the GetDependency WMI class method in Configuration Manager gets the collection relationship info which the input collection depends on.

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

Syntax

sint32 GetDependency(
    string Relationship[]
);

Parameters

Relationship

Data type: String[] (array)

Qualifiers: [out]

JSON string array of collection dependency relationship.

Return values

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

For more 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

SMS_Collection server WMI class

GetDependent method