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
sdpNode
Type: System.Xml.XPath.IXPathNavigableAn IXPathNavigable node pointing to a valid SDP package.
reserved
Type: System.Int32Reserved. Must pass in 0.
Exceptions
Exception
Condition
sdpNode does not point to a valid SDP package.
sdpNode does not contain valid SDP XML.
See Also
SoftwareDistributionPackage Overload
SoftwareDistributionPackage Class
Microsoft.UpdateServices.Administration Namespace
Return to top