GetClientConfigPolicies Method in Class SMS_TaskSequencePackage

The GetClientConfigPolicies Windows Management Instrumentation (WMI) class method, in Configuration Manager, gets all site-wide client configuration policies and their corresponding policy assignments.

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

Syntax

SInt32 GetClientConfigPolicies(  
      String PolicyXmls[],  
      String PolicyAssignmentXmls[]  
);  

Parameters

PolicyXmls
Data type: String Array

Qualifiers: [out]

The XML representations of all site-wide client configuration policies.

PolicyAssignmentXmls
Data type: String Array

Qualifiers: [out]

The XML representations of all site-wide client configuration policy assignments. This parameter and PolicyXmls are aligned, with the nth element of one corresponding to the nth element of the other.

Return Values

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

For 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_TaskSequencePackage Server WMI Class