The SMS_CollectionToPkgAdvert_a association Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, that uses the CollectionID property to relate an SMS_Advertisement Server WMI Class object with its target SMS_Collection Server WMI Class object.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_CollectionToPkgAdvert_a : SMS_BaseAssociation
{
	ref:SMS_Advertisement advert;
	ref:SMS_Collection collection;
};

Methods

The SMS_CollectionToPkgAdvert_a class does not define any methods.

Properties

advert

Data type: ref:SMS_AdvertisementAccess type: Read/WriteQualifiers: [key]Reference to an SMS_Advertisement Server WMI Class object path.
collection

Data type: ref:SMS_CollectionAccess type: Read/WriteQualifiers: [key]Reference to an SMS_Collection Server WMI Class object path.

Remarks

Class qualifiers for this class include:

  • Association: ToInstance

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

Development Requirements

See Also