SoftwareDistributionPackage Class
Applies To: Windows Server Update Services
Represents a default package, including a new GUID for the package ID, the current Coordinated Universal Time (UTC) for the creation date, a default 1.0 schema version, and a package type of default application.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Inheritance Hierarchy
System.Object
Microsoft.UpdateServices.Administration.SoftwareDistributionPackage
Syntax
public class SoftwareDistributionPackage
public ref class SoftwareDistributionPackage
type SoftwareDistributionPackage = class end
Public Class SoftwareDistributionPackage
Constructors
Name | Description | |
---|---|---|
SoftwareDistributionPackage() | Initializes a new instance of SoftwareDistributionPackage. |
|
SoftwareDistributionPackage(IXPathNavigable) | Obsolete. Initializes a new instance of SoftwareDistributionPackage with the given SDP node. |
|
SoftwareDistributionPackage(IXPathNavigable, Int32) | Creates an SDP class and loads properties from the specified SDP XML node. |
|
SoftwareDistributionPackage(String) | Initializes a new instance of SoftwareDistributionPackage with the given SDP package file. |
Properties
Name | Description | |
---|---|---|
AdditionalInformationUrls | Gets a list of URLs for additional information. |
|
BundledPackages | Gets the list of packages bundled by this package. |
|
CanSourceBeRequired | Gets or sets whether the package can require the source. |
|
CommonVulnerabilitiesIds | Gets a collection of common vulnerabilities IDs. |
|
CreationDate | Gets the date/time when this package was created. |
|
CurrentLanguage | Gets or sets the current language of the title and description of the package. |
|
DefaultLanguage | Gets or sets the default language of the title and description of the package. |
|
Description | Gets or sets the localized description of the package. |
|
InstallableItems | Gets a list of the installable items in the package. |
|
IsInstallable | Gets or sets the IsInstallable applicability rules for this package. |
|
IsInstalled | Gets or sets the IsInstalled applicability rules of this package. |
|
KnowledgebaseArticleId | Gets or sets the Knowledge Base article ID associated with this package. |
|
PackageId | Gets or sets the GUID of the package. |
|
PackageType | Gets the type of the package. |
|
PackageUpdateClassification | Gets or sets the package update classification. |
|
PackageUpdateType | Gets or set the update type for the package. |
|
Prerequisites | Gets the list of prerequisites required by this package. |
|
ProductNames | Gets the product names associated with this package. |
|
PublicationState | Gets or sets the package publication state. |
|
RestrictToClientServicingApi | Specifies whether this package is made available only through the ClientServicing API. |
|
SecurityBulletinId | Gets or sets the security bulletin ID associated with this package. |
|
SecurityRating | Gets or sets the security rating of the package. |
|
SupersededPackages | Gets the GUIDs of the packages that this package supersedes. |
|
SupportedLanguages | Gets the supported languages of the title and description. |
|
SupportUrl | Gets or sets the support URL. |
|
Title | Gets or sets the title of the package. |
|
VendorName | Gets or sets the vendor name associated with this package. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
PopulatePackageFromExe(String) | Creates a CommandLineItem installable item from the given executable file name. |
|
PopulatePackageFromExeWrappedMsi(String, String[], String[]) | Creates an MSI executable file from the given path to the executable and the given relative paths to the primary and secondary MSI files. |
|
PopulatePackageFromWindowsInstaller(String) | Creates a WindowsInstallerItem installable item from the given file. |
|
PopulatePackageFromWindowsInstallerPatch(String) | Creates a WindowsInstallerPatchItem from the given MSP file. |
|
Save(String) | Saves the SDP file. |
|
ToString() | (Inherited from Object.) |
|
Verify() | Verifies the content of this package. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.UpdateServices.Administration Namespace
Return to top