Partager via


IPublisher.PublishPackage Method (String, String, String, Boolean, 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)

Syntax

void PublishPackage(
    string sourcePath,
    string additionalSourcePath,
    string packageDirectoryName,
    bool dualSign,
    string httpTimeStamp
)
void PublishPackage(
    String^ sourcePath,
    String^ additionalSourcePath,
    String^ packageDirectoryName,
    bool dualSign,
    String^ httpTimeStamp
)
abstract PublishPackage : 
        sourcePath:string *
        additionalSourcePath:string *
        packageDirectoryName:string *
        dualSign:bool *
        httpTimeStamp:string -> unit
Sub PublishPackage (
    sourcePath As String,
    additionalSourcePath As String,
    packageDirectoryName As String,
    dualSign As Boolean,
    httpTimeStamp As String
)

Parameters

  • sourcePath
    Type: System.String

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

  • additionalSourcePath
    Type: System.String

    Location of additional source files to copy to the InstallableItem InstallPointDirectory. This is used to add files to a package that were not on the original source media (e.g. Office install configuration files) so they can be used during setup.

  • 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.

  • dualSign
    Type: System.Boolean

    Whether to dual sign the package with SHA1 and SHA2 hashes.

  • httpTimeStamp
    Type: System.String

    The URL of the time stamp server to use for the time stamp.

See Also

PublishPackage Overload
IPublisher Interface
Microsoft.UpdateServices.Administration Namespace

Return to top