Share via


Association Classes

An association allows you to logically relate the instances of two classes. Typically, an association consists of two key properties (which are paths, or pointers, that uniquely identify the location of the other class instances), but an association can also contain additional properties. The provider uses the key properties to retrieve the requested data.

Although association classes provide a convenient means to collect related information, they are inherently slow. If performance is an issue, you should consider collecting the related information yourself.

Notes  Association classes are read-only except for the SMS_CollectToSubCollect_a class.

Association class names are suffixed with an "_a".

The following is a table of association classes.

Association classes Description
SMS_AdvertToSourceSite_a Relates an advertisement with the site that created the advertisement.
SMS_BaseAssociation Abstract class that is the base class for all SMS association classes. It has no properties.
SMS_CollectionMember_a Relates a collection with its member resources.
SMS_CollectionToPkgAdvert_a Relates an advertisement with its target collection.
SMS_CollectToSubCollect_a Relates a collection with its parent collection.
SMS_ObjectToClassPermissions_a Relates a secured object with various users that have class permissions on the object.
SMS_ObjectToInstancePermissions_a Relates a secured object with users that have permissions for an instance of a secured object.
SMS_PackageToAdvert_a Relates an advertisement to the package it advertises.
SMS_PackageToSourceSite_a Relates a package to the site that created the package.
SMS_PDFPkgToPDFProgram_a Relates a PDF package to PDF programs that are part of the package.
SMS_PkgToPkgAccess_a Relates a package with the user accounts that are used to access a package on its distribution points.
SMS_PkgToPkgProgram_a Relates a package with the programs that form the package.
SMS_PkgToPkgServer_a Relates a package with its distribution points.
SMS_SCFToSCI_a Relates a site control file with the site control items that make up the current site control file.
SMS_SCFToSite_a Relates a site control file with the site to which it belongs.
SMS_SiteToROOTColl_a Relates a site with the root of the collections that belong to it.
SMS_SiteToSiteID_a Relates a site with its identifying information.
SMS_SiteToSubSite_a Defines the hierarchy of sites by relating a site with its subsites.