Show / Hide Table of Contents

Class WsusExporter

Exports updates from IMetadataSource to a WSUS compatible format

Inheritance
System.Object
WsusExporter
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata
Assembly: package-graph-endpoints-microsoft-update.dll
Syntax
public class WsusExporter

Constructors

| Improve this Doc View Source

WsusExporter(IMetadataStore, ServerSyncConfigData)

Create a new exporter object from the specified store.

Declaration
public WsusExporter(IMetadataStore source, ServerSyncConfigData serviceConfiguration)
Parameters
Type Name Description
IMetadataStore source

The store that contains the updates to export

Microsoft.UpdateServices.WebServices.ServerSync.ServerSyncConfigData serviceConfiguration

The configuration of the service from where the updates were obtained.

Methods

| Improve this Doc View Source

CompleteTheListOfExportUpdates(List<MicrosoftUpdatePackage>, IMetadataStore)

Given a list of updates to export, it finds all updates bundled with updates to be exported and adds them to the list as well. This is done recursively, until all bundled updates have been included

Declaration
public static void CompleteTheListOfExportUpdates(List<MicrosoftUpdatePackage> updatesToExport, IMetadataStore source)
Parameters
Type Name Description
System.Collections.Generic.List<MicrosoftUpdatePackage> updatesToExport

The updates to export. Bundled updates are added to this list

IMetadataStore source

The update metadata to export from.

| Improve this Doc View Source

Export(MetadataFilter, String)

Exports the specified updates from a local update metadata source to a format compatible with WSUS 2016

Declaration
public void Export(MetadataFilter filter, string exportFilePath)
Parameters
Type Name Description
MetadataFilter filter

The filter to apply during the export operation

System.String exportFilePath

The export destination file (CAB)

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX