The CheckPackageShareForTaskSequenceDeployment Windows Management Instrumentation (WMI) class method, in Configuration Manager, that checks whether the package share type meets the requirements of a task sequence deployment.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
uint32 CheckPackageShareForTaskSequenceDeployment { [IN] String PackageID [OUT] Boolean IsValid [OUT] String InvalidTaskSequenceDeploymentIDs[] [OUT] String InvalidTaskSequenceDeploymentNames[] }; |
Parameters
- PackageID
- Data type: StringQualifiers: [id("0"), in]Package identifier.
- IsValid
- Data type: BooleanQualifiers: [id("1"), out]true if the package is valid for task sequence use. false if the package is invalid for task sequence use. If the package is referred to by a run-from-net deployment, the package must be available as a share on a distribution point.
- InvalidTaskSequenceDeploymentIDs
- Data type: String ArrayQualifiers: [id("2"), out]Identifiers of task sequence deployments that are invalid because this package is not valid for task sequence use.
- InvalidTaskSequenceDeploymentNames
- Data type: String Array Qualifiers: [id("3"), out]Names of task sequence deployments that are invalid because this package is not valid for task sequence use.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.