title | titleSuffix | description | ms.date | ms.subservice | ms.service | ms.topic | ms.assetid | author | ms.author | manager | ms.localizationpriority | ms.collection | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GetDependency method |
Configuration Manager |
Get the collection relationship info which the input collection depends on. |
11/30/2020 |
sdk |
configuration-manager |
reference |
32efccb1-4a3a-4811-902d-e26dd9c9c7ba |
Banreet |
banreetkaur |
apoorvseth |
low |
tier3 |
mstewart,aaroncz |
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.
sint32 GetDependency(
string Relationship[]
);
Data type: String[]
(array)
Qualifiers: [out]
JSON string array of collection dependency relationship.
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.
For more information, see Configuration Manager server runtime requirements.
For more information, see Configuration Manager server development requirements.