The CheckReferencesShareType Windows Management Instrumentation (WMI) class method, in Configuration Manager, that checks all referred packages for this task sequence and returns all packages that are not shared.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
uint32 CheckReferencesShareType { [IN] String PackageID [OUT] Boolean CanRunFromDP [OUT] String PacakgeIds[] [OUT] String PackageNames[] }; |
Parameters
- PackageID
- Data type: StringQualifiers: [id("0"), in]Task sequence package identifier.
- CanRunFromDP
- Data type: BooleanQualifiers: [id("1"), out]true if the package can be run from the distribution point.
- PacakgeIds
- Data type: String Array Qualifiers: [id("2"),
out]Package identifiers for all referred packages for this task
sequence that are not shared.
Note The incorrect spelling of the variable "PacakgeIds" is hardcoded in WMI.
- PackageNames
- Data type: String Array Qualifiers: [id("3"), out]Package names for all referred packages for this task sequence that are not shared.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.