The GetEntityReferences Windows Management Instrumentation (WMI) class method, in Configuration Manager, gets the referenced entities of the specified entities.

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

SInt32 GetEntityReferences(
	 UInt32 entityIDs[],
	 UInt32 referenceType,
	 Boolean referenceDirection,
	 UInt32 entityReferenceList[]
);

Parameters

entityIDs

Data type: UInt32 arrayQualifiers: [in]List of entities input.
referenceType

Data type: UInt32Qualifiers: [in] Reference type.
referenceDirection

Data type: Boolean arrayQualifiers: [in]A flag indicating whether this is querying referencing or being referenced.
entityReferenceList

Data type: UInt32 ArrayQualifiers: [out]List of entities queried.

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

Development Requirements

See Also