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)
Syntax
public interface ISubscription
public interface class ISubscription
type ISubscription = interface end
Public Interface ISubscription
Properties
Name | Description | |
---|---|---|
LastModifiedBy | Gets the name of the user who last modified the WSUS server subscription settings. |
|
LastModifiedTime | Gets the last time the WSUS server subscription settings were modified. |
|
NumberOfSynchronizationsPerDay | Gets or sets the number of server-to-server synchronizations a day. |
|
SynchronizeAutomatically | Determines whether the WSUS server synchronizes the updates automatically. |
|
SynchronizeAutomaticallyTimeOfDay | Gets or sets the time of day when the WSUS server automatically synchronizes the updates. |
Methods
Name | Description | |
---|---|---|
GetEventHistory() | Gets all subscription and synchronization events. |
|
GetEventHistory(DateTime, DateTime) | Gets subscription and synchronization events that occurred during the specified time period. |
|
GetLastSynchronizationInfo() | Gets the synchronization history of the last synchronization. |
|
GetNextSynchronizationTime() | Gets the next time the server will synchronize the updates. |
|
GetSynchronizationHistory() | Gets all synchronization history in the database. |
|
GetSynchronizationHistory(DateTime, DateTime) | Gets synchronization history that occurred during the specified time period. |
|
GetSynchronizationProgress() | Gets the synchronization progress, if the server is currently synchronizing updates. |
|
GetSynchronizationStatus() | Gets the status of the synchronization process. |
|
GetUpdateCategories() | Gets the categories of updates synchronized by the WSUS server, for example, updates for Windows Server 2003 or for the Windows product family. |
|
GetUpdateClassifications() | Gets the classifications of updates that the WSUS server synchronizes, for example, security or critical updates. |
|
Save() | Saves changes to the WSUS server subscription settings. |
|
SetUpdateCategories(UpdateCategoryCollection) | Sets the categories of updates that you want the WSUS server to synchronize. |
|
SetUpdateClassifications(UpdateClassificationCollection) | Sets the classifications of updates that WSUS synchronizes, for example, security or critical updates. |
|
StartSynchronization() | Starts the WSUS server synchronization process. |
|
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. |
|
StopSynchronization() | Stops the WSUS server synchronization process if it is running. |
See Also
Microsoft.UpdateServices.Administration Namespace
Return to top