Partager via


CreateCCRs Method in Class SMS_Query

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Configuration Manager, the CreateCCRs Windows Management Instrumentation (WMI) class method generates client configuration requests (CCRs) for the query.

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

SInt32 CreateCCRs(
   Boolean PushOnlyAssignedClients,
   SInt32 ClientType,
   Boolean Forced,
   Boolean PushEvenIfDC,
   Boolean InformationOnly
);

Parameters

  • PushOnlyAssignedClients
    Data type: Boolean

    Qualifiers: [in, optional]

    true to push installation only to assigned clients.

  • ClientType
    Data type: SInt32

    Qualifiers: [in, optional]

    Type of client.

  • Forced
    Data type: Boolean

    Qualifiers: [in, optional]

    true to force installation.

  • PushEvenIfDC
    Data type: Boolean

    Qualifiers: [in, optional]

    true to push installation on a domain component.

  • InformationOnly
    Data type: Boolean

    Qualifiers: [in, optional]

    true if the CCRs are for information only. This parameter is only used to gather information from the client.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For 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.

See Also

Concepts

SMS_Query Server WMI Class