다음을 통해 공유


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
System_CAPS_pubmethod SoftwareDistributionPackage()

Initializes a new instance of SoftwareDistributionPackage.

System_CAPS_pubmethod SoftwareDistributionPackage(IXPathNavigable)

Obsolete. Initializes a new instance of SoftwareDistributionPackage with the given SDP node.

System_CAPS_pubmethod SoftwareDistributionPackage(IXPathNavigable, Int32)

Creates an SDP class and loads properties from the specified SDP XML node.

System_CAPS_pubmethod SoftwareDistributionPackage(String)

Initializes a new instance of SoftwareDistributionPackage with the given SDP package file.

Properties

Name Description
System_CAPS_pubproperty AdditionalInformationUrls

Gets a list of URLs for additional information.

System_CAPS_pubproperty BundledPackages

Gets the list of packages bundled by this package.

System_CAPS_pubproperty CanSourceBeRequired

Gets or sets whether the package can require the source.

System_CAPS_pubproperty CommonVulnerabilitiesIds

Gets a collection of common vulnerabilities IDs.

System_CAPS_pubproperty CreationDate

Gets the date/time when this package was created.

System_CAPS_pubproperty CurrentLanguage

Gets or sets the current language of the title and description of the package.

System_CAPS_pubproperty DefaultLanguage

Gets or sets the default language of the title and description of the package.

System_CAPS_pubproperty Description

Gets or sets the localized description of the package.

System_CAPS_pubproperty InstallableItems

Gets a list of the installable items in the package.

System_CAPS_pubproperty IsInstallable

Gets or sets the IsInstallable applicability rules for this package.

System_CAPS_pubproperty IsInstalled

Gets or sets the IsInstalled applicability rules of this package.

System_CAPS_pubproperty KnowledgebaseArticleId

Gets or sets the Knowledge Base article ID associated with this package.

System_CAPS_pubproperty PackageId

Gets or sets the GUID of the package.

System_CAPS_pubproperty PackageType

Gets the type of the package.

System_CAPS_pubproperty PackageUpdateClassification

Gets or sets the package update classification.

System_CAPS_pubproperty PackageUpdateType

Gets or set the update type for the package.

System_CAPS_pubproperty Prerequisites

Gets the list of prerequisites required by this package.

System_CAPS_pubproperty ProductNames

Gets the product names associated with this package.

System_CAPS_pubproperty PublicationState

Gets or sets the package publication state.

System_CAPS_pubproperty RestrictToClientServicingApi

Specifies whether this package is made available only through the ClientServicing API.

System_CAPS_pubproperty SecurityBulletinId

Gets or sets the security bulletin ID associated with this package.

System_CAPS_pubproperty SecurityRating

Gets or sets the security rating of the package.

System_CAPS_pubproperty SupersededPackages

Gets the GUIDs of the packages that this package supersedes.

System_CAPS_pubproperty SupportedLanguages

Gets the supported languages of the title and description.

System_CAPS_pubproperty SupportUrl

Gets or sets the support URL.

System_CAPS_pubproperty Title

Gets or sets the title of the package.

System_CAPS_pubproperty VendorName

Gets or sets the vendor name associated with this package.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod PopulatePackageFromExe(String)

Creates a CommandLineItem installable item from the given executable file name.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod PopulatePackageFromWindowsInstaller(String)

Creates a WindowsInstallerItem installable item from the given file.

System_CAPS_pubmethod PopulatePackageFromWindowsInstallerPatch(String)

Creates a WindowsInstallerPatchItem from the given MSP file.

System_CAPS_pubmethod Save(String)

Saves the SDP file.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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