SMS_ContentPackage Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_ContentPackage Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the content package.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_ContentPackage : SMS_PackageBaseclass
{
UInt32 ActionInProgress;
String AlternateContentProviders;
String Description;
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 LocalizedCategoryInstanceNames[];
String Manufacturer;
String MIFFilename;
String MIFName;
String MIFPublisher;
String MIFVersion;
String Name;
UInt32 NumOfPrograms;
UInt32 ObjectTypeID;
String PackageID;
UInt32 PackageSize;
UInt32 PackageType;
UInt32 PkgFlags;
UInt32 PkgSourceFlag;
String PkgSourcePath;
String PreferredAddressType;
UInt32 Priority;
Boolean RefreshPkgSourceFlag;
SMS_ScheduleToken RefreshSchedule[];
String SecuredScopeNames[];
String SecurityKey;
String SedoObjectVersion;
String ShareName;
UInt32 ShareType;
DateTime SourceDate;
String SourceSite;
UInt32 SourceVersion;
String StoredPkgPath;
UInt32 StoredPkgVersion;
String Version;
};
Methods
The following table lists the methods in the SMS_ContentPackage class.
Method |
Description |
---|---|
Adds a package change notification. |
|
Adds a set of contents to this content package |
|
AddDistributionPointGroup Method in Class SMS_ContentPackage |
Adds a distribution point group for the content package. |
Adds the distribution points for the content package. |
|
Called when all the contents have been added to the content package to start package processing. |
|
Removes the content for the given ContentID from the package. |
|
Causes a refresh of the package source. |
|
Sets the source site to the current site, unlocking the package. Important This method is obsolete. |
|
Sets the code of the source site for the package. |
Properties
ActionInProgress
Data type: UInt32Access type: Read-only
Qualifiers: [enumeration, read]
AlternateContentProviders
Data type: StringAccess type: Read/Write
Qualifiers: [large, lazy, resdll, resid]
Description
Data type: StringAccess type: Read/Write
Qualifiers: None
ExtendedData
Data type: UInt8 ArrayAccess type: Read/Write
Qualifiers: [large, lazy]
ExtendedDataSize
Data type: UInt32Access type: Read/Write
Qualifiers: [lazy]
ForcedDisconnectDelay
Data type: UInt32Access type: Read/Write
Qualifiers: None
ForcedDisconnectEnabled
Data type: BooleanAccess type: Read/Write
Qualifiers: None
ForcedDisconnectNumRetries
Data type: UInt32Access type: Read/Write
Qualifiers: None
Icon
Data type: UInt8 ArrayAccess type: Read/Write
Qualifiers: [large]
IconSize
Data type: UInt32Access type: Read/Write
Qualifiers: [lazy]
IgnoreAddressSchedule
Data type: BooleanAccess type: Read/Write
Qualifiers: None
ISVData
Data type: UInt8 ArrayAccess type: Read/Write
Qualifiers: [large, lazy]
ISVDataSize
Data type: UInt32Access type: Read/Write
Qualifiers: [lazy]
Language
Data type: StringAccess type: Read/Write
Qualifiers: None
LastRefreshTime
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
LocalizedCategoryInstanceNames
Data type: String ArrayAccess type: Read-only
Qualifiers: [read]
Manufacturer
Data type: StringAccess type: Read/Write
Qualifiers: None
MIFFilename
Data type: StringAccess type: Read/Write
Qualifiers: None
MIFName
Data type: StringAccess type: Read/Write
Qualifiers: None
MIFPublisher
Data type: StringAccess type: Read/Write
Qualifiers: None
MIFVersion
Data type: StringAccess type: Read/Write
Qualifiers: None
Name
Data type: StringAccess type: Read/Write
Qualifiers: None
NumOfPrograms
Data type: UInt32Access type: Read/Write
Qualifiers: None
ObjectTypeID
Data type: UInt32Access type: Read/Write
Qualifiers: None
The security type of the content.
PackageID
Data type: StringAccess type: Read/Write
Qualifiers: [key]
PackageSize
Data type: UInt32Access type: Read
PackageType
Data type: UInt32Access type: Read/Write
Qualifiers: [enumeration]
PkgFlags
Data type: UInt32Access type: Read/Write
Qualifiers: [bits]
PkgSourceFlag
Data type: UInt32Access type: Read/Write
Qualifiers: [enumeration]
PkgSourcePath
Data type: StringAccess type: Read/Write
Qualifiers: None
PreferredAddressType
Data type: StringAccess type: Read/Write
Qualifiers: [stringenumeration]
Priority
Data type: UInt32Access type: Read/Write
Qualifiers: [enumeration]
RefreshPkgSourceFlag
Data type: BooleanAccess type: Read/Write
Qualifiers: [lazy]
RefreshSchedule
Data type: SMS_ScheduleToken ArrayAccess type: Read/Write
Qualifiers: [lazy, max]
SecuredScopeNames
Data type: String ArrayAccess type: Read-only
Qualifiers: [read]
SecurityKey
Data type: StringAccess type: Read/Write
Qualifiers: None
The security key of the content. Content may security by app or package.
SedoObjectVersion
Data type: StringAccess type: Read-only
Qualifiers: [read]
ShareName
Data type: StringAccess type: Read/Write
Qualifiers: None
ShareType
Data type: UInt32Access type: Read/Write
Qualifiers: [enumeration]
Specifies whether the package uses the common package share on the distribution point or a custom share.
SourceDate
Data type: DateTimeAccess type: Read-only
Qualifiers: [read]
SourceSite
Data type: StringAccess type: Read-only
Qualifiers: [read]
SourceVersion
Data type: UInt32Access type: Read-only
Qualifiers: [read]
StoredPkgPath
Data type: StringAccess type: Read/Write
Qualifiers: None
StoredPkgVersion
Data type: UInt32Access type: Read/Write
Qualifiers: None
Version
Data type: StringAccess type: Read/Write
Qualifiers: None
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.