The CreateCCR Windows Management Instrumentation (WMI) class method creates a client configuration request (CCR) for a particular resource.

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

SInt32 CreateCCR(
	 UInt32 ResourceID,
	 Boolean PushOnlyAssignedClients,
	 SInt32 ClientType,
	 Boolean Forced,
	 Boolean PushEvenIfDC,
	 Boolean InformationOnly
	 Boolean SpecifySiteCode, 
	 String PushSiteCode) 



Data type: UInt32Qualifiers: [in]ID of a member resource.

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

This property is deprecated.

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

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

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

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

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.


Runtime Requirements

Development Requirements

See Also