IPublisher.PublishPackage Method (String, String)

 

Applies To: Windows Server Update Services

Publishes a new package to the WSUS server.

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

void PublishPackage(
	string sourcePath,
	string packageDirectoryName
)

Parameters

sourcePath
Type: System.String

Location of the source files to use to copy the InstallableItem InstallPointDirectory.

packageDirectoryName
Type: System.String

Optional name to use for the Package directory under the Applications server path. Can be null, in which case the directory name will be the Title_PackageId.

This operation requires WSUS Administrator privileges.

Return to top

Community Additions

ADD
Show: