SoftwareDistributionPackage Constructor (String)
Applies To: Windows Server Update Services
Initializes a new instance of SoftwareDistributionPackage with the given SDP package file.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public SoftwareDistributionPackage(
string packageFile
)
public:
SoftwareDistributionPackage(
String^ packageFile
)
new :
packageFile:string -> SoftwareDistributionPackage
Public Sub New (
packageFile As String
)
Parameters
packageFile
Type: System.StringThe path of the package file.
Exceptions
Exception
Condition
packageFile could not be found.
packageFile does not contain a valid SDP XML.
See Also
SoftwareDistributionPackage Overload
SoftwareDistributionPackage Class
Microsoft.UpdateServices.Administration Namespace
Return to top