Share via


SMS_DistributionPoint

The SMS_DistributionPoint WMI class describes a location from where package source files are distributed to clients. A distribution point is always associated with a particular package, and a package can have several distribution points.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_DistributionPoint : SMS_BaseClass
{
  datetime LastRefreshTime;
  string PackageID;
  boolean RefreshNow;
  string ServerNALPath;
  string SiteCode;
  string SiteName;
  string SourceSite;
  uint32 Status;
};

Properties

  • LastRefreshTime
    Data type: datetime
    Access type: Read-only

    Date and time the package source files were last refreshed.

  • PackageID
    Data type: string
    Access type: Read/write
    Qualifiers: Key

    Identifies an existing package with which to associate this distribution point. You cannot change this value after the instance is created. To associate this distribution point with a different package, you must delete the instance and create a new instance with the new PackageID value.

  • RefreshNow
    Data type: boolean
    Access type: Read/write

    Indicates that SMS should refresh the package source files. If TRUE, this has the same effect as calling the RefreshPkgSource method. This property will always return FALSE when read. Do not use this property to update the package source files. Instead, use the RefreshPkgSource method.

  • ServerNALPath
    Data type: string
    Access type: Read/write
    Qualifiers: Key

    Network Access Layer (NAL) path to the distribution point server. The SMS_SystemResourceList class contains a list of the available distribution points and their NAL paths. You select the NALPath property of SMS_SystemResourceList where RoleName is "SMS Distribution Point".

  • SiteCode
    Data type: string
    Access type: Read/write
    Qualifiers: Key

    Site code of the site where the distribution point is located. This value must match the site code in ServerNALPath. You can get this value from SMS_SystemResourceList.

  • SiteName
    Data type: string
    Access type: Read/write

    Friendly name of the site where the distribution point is located.

  • SourceSite
    Data type: string
    Access type: Read-only

    Site code of the site from which the package originated.

  • Status
    Data type: uint32
    Access type: Read-only

    Current action being performed on the distribution point by SMS. When you delete an instance of SMS_DistributionPoint, the instance is not deleted until its related components are deleted. Instead, SMS sets the Status property to 3 (delete) to let you know that the distribution point is marked for deletion. To ensure that your query does not return distribution points that have been deleted (marked for deletion), you should add this case to your WHERE clause.

    This property was added in SMS 2.0, Service Pack 1. Values are:
    DELETE (3)

See Also

Software Distribution Classes, PackNALPath, SMS_Package, SMS_SystemResourceList