Compartilhar via


SMS_DistributionPoint Server WMI Class

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

The SMS_DistributionPoint Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a distribution point from which a given package has been distributed to clients.

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

 
Class SMS_DistributionPoint : SMS_BaseClass 
{ 
      Boolean BitsEnabled; 
      Boolean IsFileStreaming;
      Boolean IsPeerDP; 
      Boolean IsProtected; 
      UInt8 ISVData[]; 
      UInt32 ISVDataSize; 
      DateTime LastRefreshTime; 
      String PackageID; 
      Boolean RefreshNow; 
      String ResourceType; 
      String ServerNALPath; 
      String SiteCode; 
      String SiteName; 
      String SourceSite; 
      UInt32 Status; 
};

Methods

The SMS_DistributionPoint class does not define any methods.

Properties

  • BitsEnabled
    Data type: Boolean

    Access type: Read-only

    Qualifiers: [read]

    true if the distribution point is BITS-enabled. The default value is false.

  • IsFileStreaming
    Data type: Boolean

    Access type: Read-only

    Qualifiers: [read]

    true if the distribution point has been enabled for streaming virtual application packages. BitsEnabled must also be set to true for a standard distribution point. BitsEnabled will be false for a branch distribution point. The default value is false.

  • IsPeerDP
    Data type: Boolean

    Access type: Read-only

    Qualifiers: [read]

    true if the distribution point is a branch distribution point. The default value is false.

  • IsProtected
    Data type: Boolean

    Access type: Read-only

    Qualifiers: [read]

    true if the distribution point site system is protected. The default value is false.

  • ISVData
    Data type: UInt8 Array

    Access type: Read/Write

    Qualifiers: [ResID(1010), ResDLL("SMS_RSTT.dll"), large, lazy]

    Values allow a single ISV to store data that relates to the SMS_Program Server WMI Class object associated with the package. For more information, see the Remarks section later in this topic.

  • ISVDataSize
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [lazy, ResID(1009), ResDLL("SMS_RSTT.dll")]

    The size of the data indicated by ISVData. The default value is 0.

  • LastRefreshTime
    Data type: DateTime

    Access type: Read/Write

    Qualifiers: [ResID(1006),ResDLL("SMS_RSTT.dll")]

    Date and time of when the package was last updated on the distribution server. The default value is "19900101000000.000000+***".

  • PackageID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, ResID(1001), ResDLL("SMS_RSTT.dll")]

    ID for the package that was distributed to this distribution point. The default value is "".

  • RefreshNow
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: [ResID(1007),ResDLL("SMS_RSTT.dll")]

    true to signal Configuration Manager to update the package on the distribution point. The update is distribution point-specific and is equivalent to the Refresh Distribution Point action in the Configuration Manager console. This package update copies the latest content from the source of the package to a specific distribution point, so that the distribution point has the latest version. The source version of the package is not incremented, and the package content is not replicated to child sites. The default value is false.

  • ResourceType
    Data type: String

    Access type: Read-only

    Qualifiers: [read]

    The resource type of the distribution point. The default value is "".

  • ServerNALPath
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, ResID(1002), ResDLL("SMS_RSTT.dll")]

    Network abstraction layer (NAL) path to the distribution point server. The default value is "". For more information, see the Remarks section later in this topic.

  • SiteCode
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, SizeLimit("3"), ResID(1003), ResDLL("SMS_RSTT.dll")]

    Site code of the site that this distribution point belongs to. The default value is "".

    The value that is furnished for this property must match the value of ServerNALPath. Your application retrieves the value from SMS_SystemResourceList Server WMI Class. For more information, see the Remarks section later in this topic.

  • SiteName
    Data type: String

    Access type: Read/Write

    Qualifiers: [ResID(1004), ResDLL("SMS_RSTT.dll")]

    Friendly name of the site where the package originates. The default value is "".

  • SourceSite
    Data type: String

    Access type: Read/Write

    Qualifiers: [SizeLimit("3"), ResID(1005), ResDLL("SMS_RSTT.dll")]

    Site code of the site where the package originates. The default value is "".

  • Status
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read, enumeration, ResID(1008), ResDLL("SMS_RSTT.dll")]

    Current status of the package on the distribution point. Possible values are listed below. For more information, see the Remarks section later in this topic.

    0

    NONE

    1

    UPDATED

    2

    ADDED

    3

    DELETED

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

A distribution point is always associated with a particular package, and a package can have several distribution points.

Your application cannot change the PackageID property after the distribution point is created. To associate the distribution point with a different package, the application must delete the SMS_DistributionPoint object and create a new instance with a new PackageID value.

The SMS_SystemResourceList Server WMI Class class contains a list of the available distribution points and their NAL paths. Your application should select the NALPath property of SMS_SystemResourceList that corresponds to a RoleName property setting of "SMS Distribution Point".

When your application deletes an instance of SMS_DistributionPoint, the instance is not totally deleted until its related components are deleted. Instead, Configuration Manager sets the Status property to 3 (delete) to inform the application that the distribution point is marked for deletion. To ensure that a query does not retrieve distribution points that have been deleted (marked for deletion), your application should add this case to its WHERE clause.

There are no restrictions or defined formats for the data that is indicated by ISVData. However, it is important that after ISV ownership of this property has been established, it should not be overwritten. Therefore, the application should first read the existing data in this property. If the data does not belong to the caller, it should not be modified. Any ISV or application that is using this property should include an identifier in the data so that the ownership can be easily established.

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

Software Distribution Server WMI Classes
SMS_SystemResourceList Server WMI Class