This topic has not yet been rated - Rate this topic

IPublisher.PublishPackage Method (String, String)

Publishes a new package to the WSUS server.


Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)
Dim instance As IPublisher
Dim sourcePath As String
Dim packageDirectoryName As String

instance.PublishPackage(sourcePath, packageDirectoryName)
void PublishPackage (
	string sourcePath,
	string packageDirectoryName
)
void PublishPackage (
	String sourcePath, 
	String packageDirectoryName
)
function PublishPackage (
	sourcePath : String, 
	packageDirectoryName : String
)

Parameters

sourcePath

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

packageDirectoryName

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2

Community Additions

ADD
© 2013 Microsoft. All rights reserved.