共用方式為


IPublisher Interface

 

Applies To: Windows Server Update Services

The properties of the IPublisher interface.

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

Syntax

public interface IPublisher
public interface class IPublisher
type IPublisher = interface end
Public Interface IPublisher

Properties

Name Description
System_CAPS_pubproperty MetadataOnly

Gets or sets a value indicating whether or not the publishing process will operate in a metadata only mode.

System_CAPS_pubproperty SignCertWithoutTimeStamp

Gets or sets whether or not the certificate will be signed without a time stamp.

Methods

Name Description
System_CAPS_pubmethod Cancel()

Asynchronously called method to attempt to cancel the PublishPackage() API call.

System_CAPS_pubmethod PublishPackage(String, String)

Publishes a new package to the WSUS server.

System_CAPS_pubmethod PublishPackage(String, String, String)

Publishes a new package to the WSUS server.

System_CAPS_pubmethod PublishPackage(String, String, String, Boolean, String)

Publishes a new package to the WSUS server.

System_CAPS_pubmethod PublishSignedPackage(String, String)

Publishes a new Package to the WSUS server using an existing pre-signed cab file.

System_CAPS_pubmethod ResignPackage()

Re-signs all cab files used by an existing package and publishes a new revision referencing them.

System_CAPS_pubmethod RevisePackage()

Revises an existing package, expects to perform no file operations, and simply updates the metadata for the update.

System_CAPS_pubmethod VerifyAndPublishPackage()

Verify the package cab file and publish the package to the WSUS server.

Events

Name Description
System_CAPS_pubevent ProgressHandler

Progress event handler accepts delegates to be called during the publishing process.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top