共用方式為


SMS_DeviceSettingPackage 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_DeviceSettingPackage Windows Management Instrumentation (WMI) class is an SMS Provider server class that represents a device setting package in the database.

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

Class SMS_DeviceSettingPackage : SMS_PackageBaseclass
{
      UInt32 ActionInProgress;
      String AlternateContentProviders;
      String Description;
      String DeviceSettingItemUniqueIDs[];
      String DeviceSettingPackageXML;
      UInt8 ExtendedData[];
      UInt32 ExtendedDataSize;
      UInt32 ForcedDisconnectDelay;
      Boolean ForcedDisconnectEnabled;
      UInt32 ForcedDisconnectNumRetries;
      UInt8 Icon[];
      UInt32 IconSize;
      Boolean IgnoreAddressSchedule;
      UInt8 ISVData[];
      UInt32 ISVDataSize;
      String Language;
      DateTime LastRefreshTime;
      String Manufacturer;
      String MIFFilename;
      String MIFName;
      String MIFPublisher;
      String MIFVersion;
      String Name;
      String PackageID;
      UInt32 PackageType;
      UInt32 PkgFlags;
      UInt32 PkgSourceFlag;
      String PkgSourcePath;
      String PlatformType;
      String PreferredAddressType;
      UInt32 Priority;
      Boolean RefreshPkgSourceFlag;
      SMS_ScheduleToken RefreshSchedule[];
      String ShareName;
      UInt32 ShareType;
      DateTime SourceDate;
      String SourceSite;
      UInt32 SourceVersion;
      String StoredPkgPath;
      UInt32 StoredPkgVersion;
      String Version;
};

Methods

The following table shows the methods in SMS_DeviceSettingPackage.

Method Description

AddChangeNotification Method in Class SMS_DeviceSettingPackage

Adds a device setting package change notification.

AddDistributionPoints Method in Class SMS_DeviceSettingPackage

Add the distribution points for the device setting package.

RefreshPkgSource Method in Class SMS_DeviceSettingPackage

Refreshes the package source at all distribution points, when the package properties have not changed.

SetSourceSite Method in Class SMS_DeviceSettingPackage

Sets the code of the source site for the device setting package.

Unlock Method in Class SMS_DeviceSettingPackage

Sets the source site to the current site, unlocking the device setting package.

Properties

  • ActionInProgress
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read, ResID(733), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("ActionInProgress")]

    See SMS_PackageBaseclass Server WMI Class.

  • AlternateContentProviders
    Data type: String

    Access type: Read/Write

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

    Not used for this class.

  • DeviceSettingItemUniqueIDs
    Data type: String Array

    Access type: Read/Write

    Qualifiers: [lazy]

    GUIDs or unique IDs of the device settings contained in the package.

  • DeviceSettingPackageXML
    Data type: String

    Access type: Write-only

    Qualifiers: None

    User interface used to provide device setting package XML through this property. The default value is "".

  • PkgSourceFlag
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [ResID(707), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("PkgSourceFlag")]

    See SMS_PackageBaseclass Server WMI Class.

    For this class, the flag setting is STORAGE_DIRECT (2).

  • PlatformType
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    The type of platform to which the device setting package applies. The default value is "".

Remarks

Class qualifiers for this class include:

  • Secured

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

Mobile device setting packages use programs, distribution points, and advertisements to collections to distribute their content.

Requirements

See Also

Reference

SMS_PackageBaseclass Server WMI Class

Concepts

Device Management Server WMI Classes