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 );
- Data type: StringQualifiers: [in]Name of the computer.
- 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.
- Data type: BooleanQualifiers: [in]true to force installation. The value defaults to false, if not specified.
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.
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.