Share via


SoftwareDistributionPackage Constructor (IXPathNavigable, Int32)

 

Applies To: Windows Server Update Services

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

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public SoftwareDistributionPackage(
    IXPathNavigable sdpNode,
    int reserved
)
public:
SoftwareDistributionPackage(
    IXPathNavigable^ sdpNode,
    int reserved
)
new : 
        sdpNode:IXPathNavigable *
        reserved:int -> SoftwareDistributionPackage
Public Sub New (
    sdpNode As IXPathNavigable,
    reserved As Integer
)

Parameters

Exceptions

Exception

Condition

InvalidDataException

sdpNode does not point to a valid SDP package.

XmlSchemaValidationException

sdpNode does not contain valid SDP XML.

See Also

SoftwareDistributionPackage Overload
SoftwareDistributionPackage Class
Microsoft.UpdateServices.Administration Namespace

Return to top