GenerateCCRByName Method in Class SMS_Collecton
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: String
Qualifiers: [in]
Name of the computer.
PushSiteCode
Data type: String
Qualifiers: [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: Boolean
Qualifiers: [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.