The GenerateCCRByName Windows Management Instrumentation (WMI) class method generates a client configuration request by computer name.

The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.

SInt32 GenerateCCRByName(
	 String Name
	 String PushSiteCode
	 Boolean Forced
);

Parameters

Name

Data type: StringQualifiers: [in]Name of the computer.
PushSiteCode

Data type: StringQualifiers: [in]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.
Forced

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

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