ISubscription Members

Used to view or modify the synchronization settings and to start the synchronization process manually or automatically. Downstream servers receive synchronization settings from the upstream server. Downstream servers can modify and save synchronization settings; however, only the synchronization schedule is used by the downstream server. WSUS ignores the other settings. Downstream servers can also start and stop the synchronization process. To retrieve this interface, call GetSubscription.

The following tables list the members exposed by the ISubscription type.

Public Properties

  Name Description
public property LastModifiedBy Gets the name of the user who last modified the WSUS server subscription settings.
public property LastModifiedTime Gets the last time the WSUS server subscription settings were modified.
public property NumberOfSynchronizationsPerDay Gets or sets the number of server-to-server synchronizations a day.
public property SynchronizeAutomatically Determines whether the WSUS server synchronizes the updates automatically.
public property SynchronizeAutomaticallyTimeOfDay Gets or sets the time of day when the WSUS server automatically synchronizes the updates.

Top

Public Methods

  Name Description
public method GetEventHistory Overloaded. Gets all the events for the server subscription.
public method GetLastSynchronizationInfo Gets the synchronization history of the last synchronization.
public method GetNextSynchronizationTime Gets the next time the server will synchronize the updates.
public method GetSynchronizationHistory Overloaded. Gets a history of synchronizations that have occurred on the system.
public method GetSynchronizationProgress Gets the synchronization progress, if the server is currently synchronizing updates.
public method GetSynchronizationStatus Gets the status of the synchronization process.
public method GetUpdateCategories Gets the categories of updates synchronized by the WSUS server, for example, updates for Windows Server 2003 or for the Windows product family.
public method GetUpdateClassifications Gets the classifications of updates that the WSUS server synchronizes, for example, security or critical updates.
public method Save Saves changes to the WSUS server subscription settings.
public method SetUpdateCategories Sets the categories of updates that you want the WSUS server to synchronize.
public method SetUpdateClassifications Sets the classifications of updates that WSUS synchronizes, for example, security or critical updates.
public method StartSynchronization Starts the WSUS server synchronization process.
public method StartSynchronizationForCategoryOnly This is a revised version of StartSynchronization. StartSynchronizationForCategoryOnly only processes the categories and detectoids but not software/driver updates, which is essentially the first part of StartSynchronization.
public method StopSynchronization Stops the WSUS server synchronization process if it is running.

Top

See Also

Reference

ISubscription Interface
Microsoft.UpdateServices.Administration Namespace