CreateCCRs Method in Class SMS_Collection

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 WMI class method generates client configuration requests (CCRs) for the computers in the collection.

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

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

Parameters

  • IncludeSubCollections
    Data type: Boolean

    Qualifiers: [in, optional]

    true to include subcollections. This defaults to false, if not specified.

  • PushOnlyAssignedClients
    Data type: Boolean

    Qualifiers: [in, optional]

    true to push installation only to assigned clients. This defaults to true, if not specified.

  • ClientType
    This property is deprecated.
  • Forced
    Data type: Boolean

    Qualifiers: [in, optional]

    true to force installation. This defaults to false, if not specified.

  • PushEvenIfDC
    Data type: Boolean

    Qualifiers: [in, optional]

    true to push installation on a domain component. This defaults to false, if not specified.

  • 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. This 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 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

Reference

SMS_Collection Server WMI Class