The CreateCCRs WMI class method, in System Center 2012 Configuration Manager, generates client configuration requests (CCRs) for the computers in the collection.

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

SInt32 CreateCCRs(
	 Boolean IncludeSubCollections,
	 Boolean PushOnlyAssignedClients,
	 SInt32 ClientType,
	 Boolean Forced,
	 Boolean PushEvenIfDC,
	 Boolean InformationOnly
	 Boolean SpecifySiteCode, 
	 String PushSiteCode) 
);

Parameters

IncludeSubCollections

Data type: BooleanQualifiers: [in, optional]true to include subcollections. This defaults to false, if not specified.
PushOnlyAssignedClients

Data type: BooleanQualifiers: [in, optional]This property is deprecated.
ClientType

This property is deprecated.
Forced

Data type: BooleanQualifiers: [in, optional]true to force installation. This defaults to false, if not specified.
PushEvenIfDC

Data type: BooleanQualifiers: [in, optional]true to push installation on a domain component. This defaults to false, if not specified.
InformationOnly

Data type: BooleanQualifiers: [in, optional]true if the CCRs are for information only. This parameter is only used to gather information from the client. This defaults to false, if not specified.
SpecifySiteCode

Data type: BooleanQualifiers: [in, optional]SpecifySiteCode is used in pair with PushSiteCode. If SpecificySiteCode is true, PushSiteCode must be specified.
PushSiteCode

Data type: BooleanQualifiers: [in, optional]PushSiteCode defines which site will initiate the actual push. The specified site will push its client files to the client and do the actual installation.

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