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