GenerateCCRByName Method in Class SMS_Collecton
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
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.
Syntax
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
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.