ISubscription Interface

 

Applies To: Windows Server Update Services

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.

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

public interface ISubscription

NameDescription
System_CAPS_pubpropertyLastModifiedBy

Gets the name of the user who last modified the WSUS server subscription settings.

System_CAPS_pubpropertyLastModifiedTime

Gets the last time the WSUS server subscription settings were modified.

System_CAPS_pubpropertyNumberOfSynchronizationsPerDay

Gets or sets the number of server-to-server synchronizations a day.

System_CAPS_pubpropertySynchronizeAutomatically

Determines whether the WSUS server synchronizes the updates automatically.

System_CAPS_pubpropertySynchronizeAutomaticallyTimeOfDay

Gets or sets the time of day when the WSUS server automatically synchronizes the updates.

NameDescription
System_CAPS_pubmethodGetEventHistory()

Gets all subscription and synchronization events.

System_CAPS_pubmethodGetEventHistory(DateTime, DateTime)

Gets subscription and synchronization events that occurred during the specified time period.

System_CAPS_pubmethodGetLastSynchronizationInfo()

Gets the synchronization history of the last synchronization.

System_CAPS_pubmethodGetNextSynchronizationTime()

Gets the next time the server will synchronize the updates.

System_CAPS_pubmethodGetSynchronizationHistory()

Gets all synchronization history in the database.

System_CAPS_pubmethodGetSynchronizationHistory(DateTime, DateTime)

Gets synchronization history that occurred during the specified time period.

System_CAPS_pubmethodGetSynchronizationProgress()

Gets the synchronization progress, if the server is currently synchronizing updates.

System_CAPS_pubmethodGetSynchronizationStatus()

Gets the status of the synchronization process.

System_CAPS_pubmethodGetUpdateCategories()

Gets the categories of updates synchronized by the WSUS server, for example, updates for Windows Server 2003 or for the Windows product family.

System_CAPS_pubmethodGetUpdateClassifications()

Gets the classifications of updates that the WSUS server synchronizes, for example, security or critical updates.

System_CAPS_pubmethodSave()

Saves changes to the WSUS server subscription settings.

System_CAPS_pubmethodSetUpdateCategories(UpdateCategoryCollection)

Sets the categories of updates that you want the WSUS server to synchronize.

System_CAPS_pubmethodSetUpdateClassifications(UpdateClassificationCollection)

Sets the classifications of updates that WSUS synchronizes, for example, security or critical updates.

System_CAPS_pubmethodStartSynchronization()

Starts the WSUS server synchronization process.

System_CAPS_pubmethodStartSynchronizationForCategoryOnly()

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.

System_CAPS_pubmethodStopSynchronization()

Stops the WSUS server synchronization process if it is running.

Return to top

Community Additions

ADD
Show: